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, dispose
finishDecode
protected boolean doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out) throws java.lang.Exception
CumulativeProtocolDecoder
doDecode
在类中 CumulativeProtocolDecoder
session
- The current Sessionin
- the cumulative bufferout
- The ProtocolDecoderOutput
that will receive the decoded messagejava.lang.Exception
- if cannot decode in.