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 Framepublic int getPayloadLength()
FrameBuffer.remaining())getPayloadLength in interface FrameBuffer.remaining())public Frame.Type getType()
public boolean hasPayload()
hasPayload in interface Frame@Deprecated public boolean isLast()
FrameFrame.isFin()Copyright © 2010 - 2020 Adobe. All Rights Reserved