org.opennms.netmgt.provision.support.codec
Class MultilineHttpStatusResponseDecoder

java.lang.Object
  extended by org.apache.mina.filter.codec.ProtocolDecoderAdapter
      extended by org.apache.mina.filter.codec.CumulativeProtocolDecoder
          extended by org.opennms.netmgt.provision.support.codec.MultiLineDecoder
              extended by org.opennms.netmgt.provision.support.codec.MultilineHttpStatusResponseDecoder
All Implemented Interfaces:
org.apache.mina.filter.codec.ProtocolDecoder

public class MultilineHttpStatusResponseDecoder
extends MultiLineDecoder


Field Summary
 
Fields inherited from class org.opennms.netmgt.provision.support.codec.MultiLineDecoder
CURRENT_RESPONSE
 
Constructor Summary
MultilineHttpStatusResponseDecoder(Charset charset)
           
 
Method Summary
protected  boolean checkIndicator(org.apache.mina.core.buffer.IoBuffer in)
           
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.opennms.netmgt.provision.support.codec.MultiLineDecoder
getCharset, getMultilineIndicator, setCharset
 
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

MultilineHttpStatusResponseDecoder

public MultilineHttpStatusResponseDecoder(Charset charset)
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:
doDecode in class MultiLineDecoder
Throws:
Exception

checkIndicator

protected boolean checkIndicator(org.apache.mina.core.buffer.IoBuffer in)
                          throws CharacterCodingException
Overrides:
checkIndicator in class MultiLineDecoder
Throws:
CharacterCodingException


Copyright © 2009. All Rights Reserved.