Enriched Frame representation.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | TyrusFrame.
An Enumeration of frame types. |
| Modifier and Type | Field and Description |
|---|---|
| private TyrusFrame. |
| Access | Constructor and Description |
|---|---|
| protected | TyrusFrame(Frame
enriched frame. frame, TyrusFrame.type of the frame. frameTypeConstructor. |
| Modifier and Type | Method and Description |
|---|---|
| public TyrusFrame. | |
| public abstract void | respond(TyrusWebSocket
socket on which the appropriate action will be performed. socket)Execution part of frame processing. |
| public static TyrusFrame | Returns: new TyrusFrame.original plain frame. frame, byte type of fragment (text or binary). inFragmentedType, ByteBuffer decoding remainder. Used only for partial text frames. remainder)
|
| frameType | back to summary |
|---|---|
| private TyrusFrame. | |
| TyrusFrame | back to summary |
|---|---|
| protected TyrusFrame(Frame frame, TyrusFrame. Constructor.
| |
| getFrameType | back to summary |
|---|---|
| public TyrusFrame. Returns the type of the frame. It is used for distinguishing frame types in monitoring. Todo consider moving this to "MonitoredFrame" or something like this;
| |
| respond | back to summary |
|---|---|
| public abstract void respond(TyrusWebSocket socket) Execution part of frame processing.
| |
| wrap | back to summary |
|---|---|
| public static TyrusFrame wrap(Frame frame, byte inFragmentedType, ByteBuffer remainder)
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final TyrusFrame. | BINARY
Binary frame. |
| public static final TyrusFrame. | BINARY_CONTINUATION
Continuation binary frame. |
| public static final TyrusFrame. | CLOSE
Close frame. |
| public static final TyrusFrame. | PING
Ping frame. |
| public static final TyrusFrame. | PONG
Pong frame. |
| public static final TyrusFrame. | TEXT
Text frame. |
| public static final TyrusFrame. | TEXT_CONTINUATION
Continuation text frame. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TyrusFrame. | |
| public static TyrusFrame. |
| BINARY | back to summary |
|---|---|
| public static final TyrusFrame. Binary frame. | |
| BINARY_CONTINUATION | back to summary |
|---|---|
| public static final TyrusFrame. Continuation binary frame. | |
| CLOSE | back to summary |
|---|---|
| public static final TyrusFrame. Close frame. | |
| PING | back to summary |
|---|---|
| public static final TyrusFrame. Ping frame. | |
| PONG | back to summary |
|---|---|
| public static final TyrusFrame. Pong frame. | |
| TEXT | back to summary |
|---|---|
| public static final TyrusFrame. Text frame. | |
| TEXT_CONTINUATION | back to summary |
|---|---|
| public static final TyrusFrame. Continuation text frame. | |
| FrameType | back to summary |
|---|---|
| private FrameType() | |
| valueOf | back to summary |
|---|---|
| public static TyrusFrame. | |
| values | back to summary |
|---|---|
| public static TyrusFrame. | |