|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.filter.codec.ProtocolDecoderAdapter
org.apache.mina.filter.codec.CumulativeProtocolDecoder
org.apache.mina.example.imagine.step1.codec.ImageResponseDecoder
public class ImageResponseDecoder
a decoder for ImageResponse objects
| Field Summary | |
|---|---|
static int |
MAX_IMAGE_SIZE
|
| Constructor Summary | |
|---|---|
ImageResponseDecoder()
|
|
| Method Summary | |
|---|---|
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). |
| Methods inherited from class org.apache.mina.filter.codec.CumulativeProtocolDecoder |
|---|
decode, dispose |
| Methods inherited from class org.apache.mina.filter.codec.ProtocolDecoderAdapter |
|---|
finishDecode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_IMAGE_SIZE
| Constructor Detail |
|---|
public ImageResponseDecoder()
| Method Detail |
|---|
protected boolean doDecode(IoSession session,
IoBuffer in,
ProtocolDecoderOutput out)
throws java.lang.Exception
CumulativeProtocolDecoder
doDecode in class CumulativeProtocolDecoderin - the cumulative buffer
java.lang.Exception - if cannot decode in.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||