Class MultilineHttpStatusResponseDecoder

  • All Implemented Interfaces:
    org.apache.mina.filter.codec.ProtocolDecoder

    public class MultilineHttpStatusResponseDecoder
    extends MultiLineDecoder

    MultilineHttpStatusResponseDecoder class.

    Version:
    $Id: $
    Author:
    ranger
    • 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)
      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, setTransportMetadataFragmentation
      • 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​(java.nio.charset.Charset charset)

        Constructor for MultilineHttpStatusResponseDecoder.

        Parameters:
        charset - a Charset object.
    • 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 class MultiLineDecoder
        Throws:
        java.lang.Exception
      • checkIndicator

        protected boolean checkIndicator​(org.apache.mina.core.buffer.IoBuffer in)
                                  throws java.nio.charset.CharacterCodingException

        checkIndicator

        Overrides:
        checkIndicator in class MultiLineDecoder
        Parameters:
        in - a IoBuffer object.
        Returns:
        a boolean.
        Throws:
        java.nio.charset.CharacterCodingException - if any.