public class ImageRequestDecoder extends CumulativeProtocolDecoder
ImageRequest objects| 构造器和说明 |
|---|
ImageRequestDecoder() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
doDecode(IoSession session,
IoBuffer in,
ProtocolDecoderOutput out)
Implement this method to consume the specified cumulative buffer and
decode its content into message(s).
|
decode, disposefinishDecodeprotected boolean doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out) throws java.lang.Exception
CumulativeProtocolDecoderdoDecode 在类中 CumulativeProtocolDecodersession - The current Sessionin - the cumulative bufferout - The ProtocolDecoderOutput that will receive the decoded messagejava.lang.Exception - if cannot decode in.