|
|
|
@ -26,9 +26,9 @@ import org.springframework.util.ObjectUtils;
@@ -26,9 +26,9 @@ import org.springframework.util.ObjectUtils;
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Representation of a WebSocket message. |
|
|
|
|
* <p>See static factory methods in {@link WebSocketSession} for creating messages |
|
|
|
|
* with the {@link org.springframework.core.io.buffer.DataBufferFactory |
|
|
|
|
* DataBufferFactory} for the session. |
|
|
|
|
* |
|
|
|
|
* <p>See static factory methods in {@link WebSocketSession} for creating messages with |
|
|
|
|
* the {@link org.springframework.core.io.buffer.DataBufferFactory} for the session. |
|
|
|
|
* |
|
|
|
|
* @author Rossen Stoyanchev |
|
|
|
|
* @since 5.0 |
|
|
|
@ -140,6 +140,7 @@ public class WebSocketMessage {
@@ -140,6 +140,7 @@ public class WebSocketMessage {
|
|
|
|
|
return "WebSocket " + this.type.name() + " message (" + this.payload.readableByteCount() + " bytes)"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* WebSocket message types. |
|
|
|
|
*/ |
|
|
|
|