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(java.nio.charset.Charset charset)
Constructor for MultilineHttpStatusResponseDecoder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
checkIndicator(org.apache.mina.core.buffer.IoBuffer in)
checkIndicatorprotected boolean
doDecode(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 java.lang.Exception
- Overrides:
doDecode
in classMultiLineDecoder
- Throws:
java.lang.Exception
-
checkIndicator
protected boolean checkIndicator(org.apache.mina.core.buffer.IoBuffer in) throws java.nio.charset.CharacterCodingException
checkIndicator
- Overrides:
checkIndicator
in classMultiLineDecoder
- Parameters:
in
- aIoBuffer
object.- Returns:
- a boolean.
- Throws:
java.nio.charset.CharacterCodingException
- if any.
-
-