Class MultilineHttpStatusResponseDecoder
- java.lang.Object
-
- org.apache.mina.filter.codec.ProtocolDecoderAdapter
-
- org.apache.mina.filter.codec.CumulativeProtocolDecoder
-
- org.opennms.netmgt.provision.support.codec.MultiLineDecoder
-
- org.opennms.netmgt.provision.support.codec.MultilineHttpStatusResponseDecoder
-
- All Implemented Interfaces:
org.apache.mina.filter.codec.ProtocolDecoder
public class MultilineHttpStatusResponseDecoder extends MultiLineDecoder
MultilineHttpStatusResponseDecoder class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.provision.support.codec.MultiLineDecoder
CURRENT_RESPONSE
-
-
Constructor Summary
Constructors Constructor Description MultilineHttpStatusResponseDecoder(Charset charset)Constructor for MultilineHttpStatusResponseDecoder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheckIndicator(org.apache.mina.core.buffer.IoBuffer in)checkIndicatorprotected booleandoDecode(org.apache.mina.core.session.IoSession session, org.apache.mina.core.buffer.IoBuffer in, org.apache.mina.filter.codec.ProtocolDecoderOutput out)-
Methods inherited from class org.opennms.netmgt.provision.support.codec.MultiLineDecoder
getCharset, getMultilineIndicator, setCharset
-
-
-
-
Method Detail
-
doDecode
protected boolean doDecode(org.apache.mina.core.session.IoSession session, org.apache.mina.core.buffer.IoBuffer in, org.apache.mina.filter.codec.ProtocolDecoderOutput out) throws Exception- Overrides:
doDecodein classMultiLineDecoder- Throws:
Exception
-
checkIndicator
protected boolean checkIndicator(org.apache.mina.core.buffer.IoBuffer in) throws CharacterCodingExceptioncheckIndicator
- Overrides:
checkIndicatorin classMultiLineDecoder- Parameters:
in- aIoBufferobject.- Returns:
- a boolean.
- Throws:
CharacterCodingException- if any.
-
-