public interface WebSocketMessage<T>
Modifier and Type | Method and Description |
---|---|
T |
getPayload()
Returns the message payload.
|
boolean |
isLast()
When partial message support is available and requested via
WebSocketHandler.supportsPartialMessages() ,
this method returns true if the current message is the last part of the
complete WebSocket message sent by the client. |
T getPayload()
null
.boolean isLast()
WebSocketHandler.supportsPartialMessages()
,
this method returns true
if the current message is the last part of the
complete WebSocket message sent by the client. Otherwise false
is returned
if partial message support is either not available or not enabled.