请参阅: 说明
接口 | 说明 |
---|---|
ByteToMessageDecoder.Cumulator |
Cumulate
ByteBuf s. |
类 | 说明 |
---|---|
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
ByteBuf s by one or more
delimiters. |
Delimiters |
A set of commonly used delimiters for
DelimiterBasedFrameDecoder . |
FixedLengthFrameDecoder |
A decoder that splits the received
ByteBuf s by the fixed number
of bytes. |
LengthFieldBasedFrameDecoder |
A decoder that splits the received
ByteBuf s 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
ByteBuf s 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. |
枚举 | 说明 |
---|---|
ProtocolDetectionState |
The state of the current detection.
|
异常错误 | 说明 |
---|---|
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.
|