Frame.Type
Constructor and Description |
---|
ReadOnlyDelegatedFrame(Frame frame) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getMask() |
byte |
getOpCode() |
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() |
public ReadOnlyDelegatedFrame(Frame frame)
public 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()
Copyright © 2010 - 2020 Adobe. All Rights Reserved