|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.filter.codec.statemachine.ConsumeToCrLfDecodingState
public abstract class ConsumeToCrLfDecodingState
A decoder which writes all read bytes in to a known Bytes
context until a CRLF
has been encountered
Constructor Summary | |
---|---|
ConsumeToCrLfDecodingState()
Creates a new instance. |
Method Summary | |
---|---|
DecodingState |
decode(IoBuffer in,
ProtocolDecoderOutput out)
Invoked when data is available for this state. |
protected abstract DecodingState |
finishDecode(IoBuffer product,
ProtocolDecoderOutput out)
|
DecodingState |
finishDecode(ProtocolDecoderOutput out)
Invoked when the associated IoSession is closed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsumeToCrLfDecodingState()
Method Detail |
---|
public DecodingState decode(IoBuffer in, ProtocolDecoderOutput out) throws Exception
DecodingState
decode
in interface DecodingState
Exception
public DecodingState finishDecode(ProtocolDecoderOutput out) throws Exception
DecodingState
IoSession
is closed.
finishDecode
in interface DecodingState
Exception
protected abstract DecodingState finishDecode(IoBuffer product, ProtocolDecoderOutput out) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |