| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv CloseStatus | |
| private byte | |
| private byte | |
| private WebSocketSessionState. | |
| private final AutoLock |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static byte | |
| public CloseStatus | |
| private WebSocketSessionState. | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public boolean | |
| public void | onError(Throwable
the error which occurred. t)
If no error is set in the CloseStatus this will either, replace the current close status with
a |
| public boolean | |
| public void | |
| public boolean | |
| public String |
| _closeStatus | back to summary |
|---|---|
| pack-priv CloseStatus _closeStatus | |
| _incomingContinuation | back to summary |
|---|---|
| private byte _incomingContinuation | |
| _outgoingContinuation | back to summary |
|---|---|
| private byte _outgoingContinuation | |
| _sessionState | back to summary |
|---|---|
| private WebSocketSessionState. | |
| lock | back to summary |
|---|---|
| private final AutoLock lock | |
| WebSocketSessionState | back to summary |
|---|---|
| public WebSocketSessionState() | |
| checkDataSequence | back to summary |
|---|---|
| private static byte checkDataSequence(byte opcode, boolean fin, byte lastOpCode) throws ProtocolException | |
| getCloseStatus | back to summary |
|---|---|
| public CloseStatus getCloseStatus() | |
| getState | back to summary |
|---|---|
| private WebSocketSessionState. | |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() | |
| isInputOpen | back to summary |
|---|---|
| public boolean isInputOpen() | |
| isOutputOpen | back to summary |
|---|---|
| public boolean isOutputOpen() | |
| onClosed | back to summary |
|---|---|
| public boolean onClosed(CloseStatus closeStatus) | |
| onConnected | back to summary |
|---|---|
| public void onConnected() | |
| onEof | back to summary |
|---|---|
| public boolean onEof() | |
| onError | back to summary |
|---|---|
| public void onError(Throwable t)
If no error is set in the CloseStatus this will either, replace the current close status with
a
This should only be called if there is an error directly before the call to
This could occur if the FrameHandler throws an exception in onFrame after receiving a close frame reply, in this case to notify onError we must set the cause in the closeStatus.
| |
| onIncomingFrame | back to summary |
|---|---|
| public boolean onIncomingFrame(Frame frame) throws ProtocolException, ClosedChannelException | |
| onOpen | back to summary |
|---|---|
| public void onOpen() | |
| onOutgoingFrame | back to summary |
|---|---|
| public boolean onOutgoingFrame(Frame frame) throws Exception | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| public static final WebSocketSessionState. | |
| public static final WebSocketSessionState. | |
| public static final WebSocketSessionState. | |
| public static final WebSocketSessionState. | |
| public static final WebSocketSessionState. | |
| public static final WebSocketSessionState. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static WebSocketSessionState. | |
| public static WebSocketSessionState. |
| CLOSED | back to summary |
|---|---|
| public static final WebSocketSessionState. | |
| CONNECTED | back to summary |
|---|---|
| public static final WebSocketSessionState. | |
| CONNECTING | back to summary |
|---|---|
| public static final WebSocketSessionState. | |
| ISHUT | back to summary |
|---|---|
| public static final WebSocketSessionState. | |
| OPEN | back to summary |
|---|---|
| public static final WebSocketSessionState. | |
| OSHUT | back to summary |
|---|---|
| public static final WebSocketSessionState. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static WebSocketSessionState. | |
| values | back to summary |
|---|---|
| public static WebSocketSessionState. | |