Package org.jboss.netty.handler.codec.frame
Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
-
Class Summary Class Description DelimiterBasedFrameDecoder A decoder that splits the receivedChannelBuffer
s by one or more delimiters.Delimiters A set of commonly used delimiters forDelimiterBasedFrameDecoder
.FixedLengthFrameDecoder A decoder that splits the receivedChannelBuffer
s by the fixed number of bytes.FrameDecoder Decodes the receivedChannelBuffer
s into a meaningful frame object.LengthFieldBasedFrameDecoder A decoder that splits the receivedChannelBuffer
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 receivedChannelBuffer
s on line endings. -
Exception Summary Exception Description CorruptedFrameException AnException
which is thrown when the received frame data can not be decoded by aFrameDecoder
implementation.TooLongFrameException AnException
which is thrown when the length of the frame decoded is greater than the maximum.