|
||||||||||
| 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.ImageRequestDecoder
public class ImageRequestDecoder
a decoder for ImageRequest objects
| Constructor Summary | |
|---|---|
ImageRequestDecoder()
|
|
| 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 |
| Constructor Detail |
|---|
public ImageRequestDecoder()
| 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 | |||||||||