Frame.Type
Constructor and Description |
---|
ReadOnlyDelegatedFrame(Frame frame) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getMask() |
byte |
getOpCode() |
java.nio.ByteBuffer |
getPayload() |
int |
getPayloadLength()
The original payload length (
Buffer.remaining() ) |
Frame.Type |
getType() |
boolean |
hasPayload() |
boolean |
isFin() |
boolean |
isLast()
Deprecated.
|
boolean |
isMasked() |
boolean |
isRsv1() |
boolean |
isRsv2() |
boolean |
isRsv3() |
private final Frame delegate
public ReadOnlyDelegatedFrame(Frame frame)
public java.nio.ByteBuffer getPayload()
getPayload
in interface Frame
public int getPayloadLength()
Frame
Buffer.remaining()
)getPayloadLength
in interface Frame
Buffer.remaining()
)public Frame.Type getType()
public boolean hasPayload()
hasPayload
in interface Frame
@Deprecated public boolean isLast()
Frame
Frame.isFin()