Javadoc
This commit is contained in:
parent
cad86962ef
commit
230113c0c6
@ -27,11 +27,11 @@ import org.jboss.netty.channel.Channel;
|
|||||||
import org.jboss.netty.channel.ChannelHandlerContext;
|
import org.jboss.netty.channel.ChannelHandlerContext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link FrameDecoder} which decodes the received {@link ChannelBuffer}s
|
* A decoder that decodes the received {@link ChannelBuffer}s into the
|
||||||
* into the {@link ChannelBuffer}s split by one or more delimiters. It is
|
* {@link ChannelBuffer}s split by one or more delimiters. It is particularly
|
||||||
* particularly useful for decoding the frames which ends with a delimiter
|
* useful for decoding the frames which ends with a delimiter such as
|
||||||
* such as {@link Delimiters#nulDelimiter() NUL} or
|
* {@link Delimiters#nulDelimiter() NUL} or
|
||||||
* {@linkplain Delimiters#lineDelimiter() newline characters}.
|
* {@linkplain Delimiters#lineDelimiter() newline characters}.
|
||||||
*
|
*
|
||||||
* <h3>Predefined delimiters</h3>
|
* <h3>Predefined delimiters</h3>
|
||||||
* <p>
|
* <p>
|
||||||
|
@ -27,9 +27,9 @@ import org.jboss.netty.channel.Channel;
|
|||||||
import org.jboss.netty.channel.ChannelHandlerContext;
|
import org.jboss.netty.channel.ChannelHandlerContext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link FrameDecoder} which decodes the received {@link ChannelBuffer}s
|
* A decoder that decodes the received {@link ChannelBuffer}s into the
|
||||||
* into the {@link ChannelBuffer}s of the fixed length. For example, if you
|
* {@link ChannelBuffer}s of the fixed length. For example, if you received
|
||||||
* received the following four fragmented packets:
|
* the following four fragmented packets:
|
||||||
* <pre>
|
* <pre>
|
||||||
* +---+----+------+----+
|
* +---+----+------+----+
|
||||||
* | A | BC | DEFG | HI |
|
* | A | BC | DEFG | HI |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user