org.opennms.netmgt.provision.support.codec
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
|
Method Summary |
protected boolean |
checkIndicator(org.apache.mina.core.buffer.IoBuffer in)
checkIndicator |
protected 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.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 |
MultilineHttpStatusResponseDecoder
public MultilineHttpStatusResponseDecoder(Charset charset)
Constructor for MultilineHttpStatusResponseDecoder.
- Parameters:
charset - a Charset object.
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:
doDecode in class MultiLineDecoder
- Throws:
Exception
checkIndicator
protected boolean checkIndicator(org.apache.mina.core.buffer.IoBuffer in)
throws CharacterCodingException
checkIndicator
- Overrides:
checkIndicator in class MultiLineDecoder
- Parameters:
in - a IoBuffer object.
- Returns:
- a boolean.
- Throws:
CharacterCodingException - if any.
Copyright © 2011. All Rights Reserved.