@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, translateHandshakeHttppublic 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 Draftpublic Draft.HandshakeState acceptHandshakeAsServer(ClientHandshake handshakedata)
acceptHandshakeAsServer in class Draftpublic ByteBuffer createBinaryFrame(Framedata framedata)
createBinaryFrame in class Draftpublic List<Framedata> createFrames(ByteBuffer binary, boolean mask)
createFrames in class Draftpublic List<Framedata> createFrames(String text, boolean mask)
createFrames in class Draftpublic ClientHandshakeBuilder postProcessHandshakeRequestAsClient(ClientHandshakeBuilder request) throws InvalidHandshakeException
postProcessHandshakeRequestAsClient in class DraftInvalidHandshakeExceptionpublic HandshakeBuilder postProcessHandshakeResponseAsServer(ClientHandshake request, ServerHandshakeBuilder response) throws InvalidHandshakeException
postProcessHandshakeResponseAsServer in class DraftInvalidHandshakeExceptionprotected List<Framedata> translateRegularFrame(ByteBuffer buffer) throws InvalidDataException
InvalidDataExceptionpublic List<Framedata> translateFrame(ByteBuffer buffer) throws InvalidDataException
translateFrame in class DraftInvalidDataExceptionpublic Draft.CloseHandshakeType getCloseHandshakeType()
getCloseHandshakeType in class Draftpublic ByteBuffer createBuffer()
public ByteBuffer increaseBuffer(ByteBuffer full) throws LimitExedeedException, InvalidDataException
public Draft copyInstance()
DraftcopyInstance in class DraftCopyright © 2017. All rights reserved.