public class ImageRequestDecoder extends CumulativeProtocolDecoder
ImageRequest
objectsConstructor and Description |
---|
ImageRequestDecoder() |
Modifier and Type | Method and Description |
---|---|
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
public ImageRequestDecoder()
protected boolean doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out) throws Exception
CumulativeProtocolDecoder
doDecode
in class CumulativeProtocolDecoder
session
- The current Sessionin
- the cumulative bufferout
- The ProtocolDecoderOutput
that will receive the decoded messageException
- if cannot decode in.Copyright © 2004–2016 Apache MINA Project. All rights reserved.