Package | Description |
---|---|
org.springframework.web.reactive.socket |
Abstractions and support classes for reactive WebSocket interactions.
|
Modifier and Type | Method and Description |
---|---|
WebSocketMessage.Type |
WebSocketMessage.getType()
Return the message type (text, binary, etc).
|
static WebSocketMessage.Type |
WebSocketMessage.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketMessage.Type[] |
WebSocketMessage.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
WebSocketMessage(WebSocketMessage.Type type,
DataBuffer payload)
Constructor for a WebSocketMessage.
|
WebSocketMessage(WebSocketMessage.Type type,
DataBuffer payload,
Object nativeMessage)
Constructor for an inbound message with access to the underlying message.
|