-
public final class WebSocketFrameWebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests.
-
-
Constructor Summary
Constructors Constructor Description WebSocketFrame(Double opcode, Boolean mask, String payloadData)
-
Method Summary
Modifier and Type Method Description final Doublecomponent1()final Booleancomponent2()final Stringcomponent3()final WebSocketFramecopy(Double opcode, Boolean mask, String payloadData)final DoublegetOpcode()WebSocket message opcode. final BooleangetMask()WebSocket message mask. final StringgetPayloadData()WebSocket message payload data. -
-
Method Detail
-
component1
final Double component1()
-
component2
final Boolean component2()
-
component3
final String component3()
-
copy
final WebSocketFrame copy(Double opcode, Boolean mask, String payloadData)
-
getPayloadData
final String getPayloadData()
WebSocket message payload data. If the opcode is 1, this is a text message and payloadData is a UTF-8 string. If the opcode isn't 1, then payloadData is a base64 encoded string representing binary data.
-
-
-
-