public interface Frame extends javax.net.websocket.extensions.Frame
Modifier and Type | Interface and Description |
---|---|
static class |
Frame.Type |
javax.net.websocket.extensions.Frame.Control, javax.net.websocket.extensions.Frame.Data
Modifier and Type | Method and Description |
---|---|
byte[] |
getMask() |
byte |
getOpCode() |
ByteBuffer |
getPayload() |
int |
getPayloadLength() |
int |
getPayloadStart() |
Frame.Type |
getType() |
boolean |
hasPayload() |
boolean |
isContinuation() |
boolean |
isFin() |
boolean |
isLast()
Same as
isFin() |
boolean |
isMasked() |
boolean |
isRsv1() |
boolean |
isRsv2() |
boolean |
isRsv3() |
void |
notifySendFailed(Throwable t) |
void |
notifySendSuccess() |
int |
remaining() |
byte[] getMask()
byte getOpCode()
ByteBuffer getPayload()
int getPayloadLength()
int getPayloadStart()
Frame.Type getType()
boolean hasPayload()
boolean isContinuation()
boolean isFin()
boolean isLast()
isFin()
boolean isMasked()
boolean isRsv1()
boolean isRsv2()
boolean isRsv3()
void notifySendFailed(Throwable t)
void notifySendSuccess()
int remaining()
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.