public interface Frame
Modifier and Type | Interface | Description |
---|---|---|
static class |
Frame.Type |
Modifier and Type | Method | 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.
use
isFin() instead |
boolean |
isMasked() |
|
boolean |
isRsv1() |
|
boolean |
isRsv2() |
|
boolean |
isRsv3() |
byte[] getMask()
byte getOpCode()
ByteBuffer getPayload()
int getPayloadLength()
Buffer.remaining()
)Buffer.remaining()
)Frame.Type getType()
boolean hasPayload()
boolean isFin()
@Deprecated boolean isLast()
isFin()
insteadisFin()
boolean isMasked()
boolean isRsv1()
boolean isRsv2()
boolean isRsv3()
Copyright © 1995–2018 Webtide. All rights reserved.