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 receivedChannelBuffers by one or more delimiters.Delimiters A set of commonly used delimiters forDelimiterBasedFrameDecoder.FixedLengthFrameDecoder A decoder that splits the receivedChannelBuffers by the fixed number of bytes.FrameDecoder Decodes the receivedChannelBuffers into a meaningful frame object.LengthFieldBasedFrameDecoder A decoder that splits the receivedChannelBuffers 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 receivedChannelBuffers on line endings. -
Exception Summary Exception Description CorruptedFrameException AnExceptionwhich is thrown when the received frame data can not be decoded by aFrameDecoderimplementation.TooLongFrameException AnExceptionwhich is thrown when the length of the frame decoded is greater than the maximum.