All Methods Static Methods Instance Methods Abstract Methods Concrete Methods
Modifier and Type |
Method and Description |
abstract Draft.HandshakeState |
acceptHandshakeAsClient(ClientHandshake request,
ServerHandshake response) |
abstract Draft.HandshakeState |
acceptHandshakeAsServer(ClientHandshake handshakedata) |
protected boolean |
basicAccept(Handshakedata handshakedata) |
int |
checkAlloc(int bytecount) |
List<Framedata> |
continuousFrame(Framedata.Opcode op,
ByteBuffer buffer,
boolean fin) |
abstract Draft |
copyInstance()
Drafts must only be by one websocket at all.
|
abstract ByteBuffer |
createBinaryFrame(Framedata framedata) |
abstract List<Framedata> |
createFrames(ByteBuffer binary,
boolean mask) |
abstract List<Framedata> |
createFrames(String text,
boolean mask) |
List<ByteBuffer> |
createHandshake(Handshakedata handshakedata,
WebSocket.Role ownrole) |
List<ByteBuffer> |
createHandshake(Handshakedata handshakedata,
WebSocket.Role ownrole,
boolean withcontent) |
abstract Draft.CloseHandshakeType |
getCloseHandshakeType() |
WebSocket.Role |
getRole() |
abstract ClientHandshakeBuilder |
postProcessHandshakeRequestAsClient(ClientHandshakeBuilder request) |
abstract HandshakeBuilder |
postProcessHandshakeResponseAsServer(ClientHandshake request,
ServerHandshakeBuilder response) |
static ByteBuffer |
readLine(ByteBuffer buf) |
static String |
readStringLine(ByteBuffer buf) |
abstract void |
reset() |
void |
setParseMode(WebSocket.Role role) |
abstract List<Framedata> |
translateFrame(ByteBuffer buffer) |
Handshakedata |
translateHandshake(ByteBuffer buf) |
static HandshakeBuilder |
translateHandshakeHttp(ByteBuffer buf,
WebSocket.Role role) |