| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final WebSocketDecoderConfig | |
| private int | |
| private boolean | |
| private boolean | |
| private int | |
| private int | |
| private long | |
| private int | |
| private static final InternalLogger | |
| private int | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private boolean | |
| private WebSocket08FrameDecoder. |
| Access | Constructor and Description |
|---|---|
| public | WebSocket08FrameDecoder(boolean
Web socket servers must set this to true processed incoming masked payload. Client implementations
must set this to false. expectMaskedFrames, boolean Flag to allow reserved extension bits to be used or not allowExtensions, int Maximum length of a frame's payload. Setting this to an appropriate value for you application
helps check for denial of services attacks. maxFramePayloadLength)Constructor |
| public | WebSocket08FrameDecoder(boolean
Web socket servers must set this to true processed incoming masked payload. Client implementations
must set this to false. expectMaskedFrames, boolean Flag to allow reserved extension bits to be used or not allowExtensions, int Maximum length of a frame's payload. Setting this to an appropriate value for you application
helps check for denial of services attacks. maxFramePayloadLength, boolean When set to true, frames which are not masked properly according to the standard will still be
accepted. allowMaskMismatch)Constructor |
| public | WebSocket08FrameDecoder(WebSocketDecoderConfig
Frames decoder configuration. decoderConfig)Constructor |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | decode(ChannelHandlerContext
the ctx, ByteBuf ChannelHandlerContext which this ByteToMessageDecoder belongs tothe in, List<Object> ByteBuf from which to read datathe out)List to which decoded messages should be addedImplements abstract io. ByteBuf to an other.
|
| private void | |
| private void | protocolViolation(ChannelHandlerContext ctx, ByteBuf in, WebSocketCloseStatus status, String reason)
|
| private void | |
| private static int | |
| private void |
| config | back to summary |
|---|---|
| private final WebSocketDecoderConfig config | |
| fragmentedFramesCount | back to summary |
|---|---|
| private int fragmentedFramesCount | |
| frameFinalFlag | back to summary |
|---|---|
| private boolean frameFinalFlag | |
| frameMasked | back to summary |
|---|---|
| private boolean frameMasked | |
| frameOpcode | back to summary |
|---|---|
| private int frameOpcode | |
| framePayloadLen1 | back to summary |
|---|---|
| private int framePayloadLen1 | |
| framePayloadLength | back to summary |
|---|---|
| private long framePayloadLength | |
| frameRsv | back to summary |
|---|---|
| private int frameRsv | |
| logger | back to summary |
|---|---|
| private static final InternalLogger logger | |
| mask | back to summary |
|---|---|
| private int mask | |
| OPCODE_BINARY | back to summary |
|---|---|
| private static final byte OPCODE_BINARY | |
| OPCODE_CLOSE | back to summary |
|---|---|
| private static final byte OPCODE_CLOSE | |
| OPCODE_CONT | back to summary |
|---|---|
| private static final byte OPCODE_CONT | |
| OPCODE_PING | back to summary |
|---|---|
| private static final byte OPCODE_PING | |
| OPCODE_PONG | back to summary |
|---|---|
| private static final byte OPCODE_PONG | |
| OPCODE_TEXT | back to summary |
|---|---|
| private static final byte OPCODE_TEXT | |
| receivedClosingHandshake | back to summary |
|---|---|
| private boolean receivedClosingHandshake | |
| state | back to summary |
|---|---|
| private WebSocket08FrameDecoder. | |
| WebSocket08FrameDecoder | back to summary |
|---|---|
| public WebSocket08FrameDecoder(boolean expectMaskedFrames, boolean allowExtensions, int maxFramePayloadLength) Constructor
| |
| WebSocket08FrameDecoder | back to summary |
|---|---|
| public WebSocket08FrameDecoder(boolean expectMaskedFrames, boolean allowExtensions, int maxFramePayloadLength, boolean allowMaskMismatch) Constructor
| |
| WebSocket08FrameDecoder | back to summary |
|---|---|
| public WebSocket08FrameDecoder(WebSocketDecoderConfig decoderConfig) Constructor
| |
| checkCloseFrameBody | back to summary |
|---|---|
| protected void checkCloseFrameBody(ChannelHandlerContext ctx, ByteBuf buffer) | |
| decode | back to summary |
|---|---|
| protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws Exception Implements abstract io. Doc from io. Decode the from one
| |
| protocolViolation | back to summary |
|---|---|
| private void protocolViolation(ChannelHandlerContext ctx, ByteBuf in, String reason) | |
| protocolViolation | back to summary |
|---|---|
| private void protocolViolation(ChannelHandlerContext ctx, ByteBuf in, WebSocketCloseStatus status, String reason) | |
| protocolViolation | back to summary |
|---|---|
| private void protocolViolation(ChannelHandlerContext ctx, ByteBuf in, CorruptedWebSocketFrameException ex) | |
| toFrameLength | back to summary |
|---|---|
| private static int toFrameLength(long l) | |
| unmask | back to summary |
|---|---|
| private void unmask(ByteBuf frame) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final WebSocket08FrameDecoder. | |
| public static final WebSocket08FrameDecoder. | |
| public static final WebSocket08FrameDecoder. | |
| public static final WebSocket08FrameDecoder. | |
| public static final WebSocket08FrameDecoder. | |
| public static final WebSocket08FrameDecoder. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static WebSocket08FrameDecoder. | |
| public static WebSocket08FrameDecoder. |
| CORRUPT | back to summary |
|---|---|
| public static final WebSocket08FrameDecoder. | |
| MASKING_KEY | back to summary |
|---|---|
| public static final WebSocket08FrameDecoder. | |
| PAYLOAD | back to summary |
|---|---|
| public static final WebSocket08FrameDecoder. | |
| READING_FIRST | back to summary |
|---|---|
| public static final WebSocket08FrameDecoder. | |
| READING_SECOND | back to summary |
|---|---|
| public static final WebSocket08FrameDecoder. | |
| READING_SIZE | back to summary |
|---|---|
| public static final WebSocket08FrameDecoder. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static WebSocket08FrameDecoder. | |
| values | back to summary |
|---|---|
| public static WebSocket08FrameDecoder. | |