WebSocketFrame

An immutable websocket frame.

Members

Aliases

Type
deprecated alias Type = WebSocketFrameType
Undocumented in source.

Functions

getMask
byte[] getMask()
Undocumented in source.
getOpCode
byte getOpCode()
Undocumented in source.
getPayload
ByteBuffer getPayload()
Undocumented in source.
getPayloadLength
int getPayloadLength()

The original payload length ({@link ByteBuffer#remaining()})

getType
WebSocketFrameType getType()
Undocumented in source.
hasPayload
bool hasPayload()
Undocumented in source.
isFin
bool isFin()
Undocumented in source.
isMasked
bool isMasked()
Undocumented in source.
isRsv1
bool isRsv1()
Undocumented in source.
isRsv2
bool isRsv2()
Undocumented in source.
isRsv3
bool isRsv3()
Undocumented in source.

Meta