See: Description
| Interface | Description |
|---|---|
| ByteToMessageDecoder.Cumulator |
Cumulate
ByteBufs. |
| Class | Description |
|---|---|
| ByteToMessageCodec<I> |
A Codec for on-the-fly encoding/decoding of bytes to messages and vise-versa.
|
| ByteToMessageDecoder |
ChannelInboundHandlerAdapter which decodes bytes in a stream-like fashion from one ByteBuf to an
other Message type. |
| DecoderResult | |
| DelimiterBasedFrameDecoder |
A decoder that splits the received
ByteBufs by one or more
delimiters. |
| Delimiters |
A set of commonly used delimiters for
DelimiterBasedFrameDecoder. |
| FixedLengthFrameDecoder |
A decoder that splits the received
ByteBufs by the fixed number
of bytes. |
| LengthFieldBasedFrameDecoder |
A decoder that splits the received
ByteBufs dynamically by the
value of the length field in the message. |
| LengthFieldPrepender |
An encoder that prepends the length of the message.
|
| LineBasedFrameDecoder |
A decoder that splits the received
ByteBufs on line endings. |
| MessageToByteEncoder<I> |
ChannelOutboundHandlerAdapter which encodes message in a stream-like fashion from one message to an
ByteBuf. |
| MessageToMessageCodec<INBOUND_IN,OUTBOUND_IN> |
A Codec for on-the-fly encoding/decoding of message.
|
| MessageToMessageDecoder<I> |
ChannelInboundHandlerAdapter which decodes from one message to an other message. |
| MessageToMessageEncoder<I> |
ChannelOutboundHandlerAdapter which encodes from one message to an other message
For example here is an implementation which decodes an Integer to an String. |
| ProtocolDetectionResult<T> |
Result of detecting a protocol.
|
| ReplayingDecoder<S> |
A specialized variation of
ByteToMessageDecoder which enables implementation
of a non-blocking decoder in the blocking I/O paradigm. |
| Enum | Description |
|---|---|
| ProtocolDetectionState |
The state of the current detection.
|
| Exception | Description |
|---|---|
| CodecException |
An
Exception which is thrown by a codec. |
| CorruptedFrameException |
An
DecoderException which is thrown when the received frame data could not be decoded by
an inbound handler. |
| DecoderException |
An
CodecException which is thrown by a decoder. |
| EncoderException |
An
CodecException which is thrown by an encoder. |
| PrematureChannelClosureException |
A
CodecException which is thrown when a Channel is closed unexpectedly before
the codec finishes handling the current message, such as missing response while waiting for a
request. |
| TooLongFrameException |
An
DecoderException which is thrown when the length of the frame
decoded is greater than the allowed maximum. |
| UnsupportedMessageTypeException |
Thrown if an unsupported message is received by an codec.
|
Copyright © 2008–2018 The Netty Project. All rights reserved.