@Deprecated public class Draft_75 extends Draft
Draft.CloseHandshakeType, Draft.HandshakeState
Modifier and Type | Field and Description |
---|---|
static byte |
CR
Deprecated.
The byte representing CR, or Carriage Return, or \r
|
protected ByteBuffer |
currentFrame
Deprecated.
|
static byte |
END_OF_FRAME
Deprecated.
The byte representing the end of a WebSocket text frame.
|
static byte |
LF
Deprecated.
The byte representing LF, or Line Feed, or \n
|
protected boolean |
readingState
Deprecated.
Is only used to detect protocol violations
|
protected List<Framedata> |
readyframes
Deprecated.
|
static byte |
START_OF_FRAME
Deprecated.
The byte representing the beginning of a WebSocket text frame.
|
continuousFrameType, FLASH_POLICY_REQUEST, INITIAL_FAMESIZE, MAX_FAME_SIZE, role
Constructor and Description |
---|
Draft_75()
Deprecated.
|
basicAccept, checkAlloc, continuousFrame, createHandshake, createHandshake, getRole, readLine, readStringLine, setParseMode, translateHandshake, translateHandshakeHttp
public static final byte CR
public static final byte LF
public static final byte START_OF_FRAME
public static final byte END_OF_FRAME
protected boolean readingState
protected ByteBuffer currentFrame
public Draft.HandshakeState acceptHandshakeAsClient(ClientHandshake request, ServerHandshake response)
acceptHandshakeAsClient
in class Draft
public Draft.HandshakeState acceptHandshakeAsServer(ClientHandshake handshakedata)
acceptHandshakeAsServer
in class Draft
public ByteBuffer createBinaryFrame(Framedata framedata)
createBinaryFrame
in class Draft
public List<Framedata> createFrames(ByteBuffer binary, boolean mask)
createFrames
in class Draft
public List<Framedata> createFrames(String text, boolean mask)
createFrames
in class Draft
public ClientHandshakeBuilder postProcessHandshakeRequestAsClient(ClientHandshakeBuilder request) throws InvalidHandshakeException
postProcessHandshakeRequestAsClient
in class Draft
InvalidHandshakeException
public HandshakeBuilder postProcessHandshakeResponseAsServer(ClientHandshake request, ServerHandshakeBuilder response) throws InvalidHandshakeException
postProcessHandshakeResponseAsServer
in class Draft
InvalidHandshakeException
protected List<Framedata> translateRegularFrame(ByteBuffer buffer) throws InvalidDataException
InvalidDataException
public List<Framedata> translateFrame(ByteBuffer buffer) throws InvalidDataException
translateFrame
in class Draft
InvalidDataException
public Draft.CloseHandshakeType getCloseHandshakeType()
getCloseHandshakeType
in class Draft
public ByteBuffer createBuffer()
public ByteBuffer increaseBuffer(ByteBuffer full) throws LimitExedeedException, InvalidDataException
public Draft copyInstance()
Draft
copyInstance
in class Draft
Copyright © 2017. All rights reserved.