public class ImageResponseDecoder extends CumulativeProtocolDecoder
ImageResponse
objectsModifier and Type | Field and Description |
---|---|
static int |
MAX_IMAGE_SIZE |
Constructor and Description |
---|
ImageResponseDecoder() |
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 static final int MAX_IMAGE_SIZE
protected boolean doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out) throws Exception
CumulativeProtocolDecoder
doDecode
in class CumulativeProtocolDecoder
in
- the cumulative bufferException
- if cannot decode in.Copyright © 2004-2012 Apache MINA Project. All Rights Reserved.