Frame.Type
Constructor | Description |
---|---|
ReadOnlyDelegatedFrame(Frame frame) |
Modifier and Type | Method | 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() |
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()
Copyright © 1995–2018 Webtide. All rights reserved.