Class HttpStatusResponseDecoder

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

    public class HttpStatusResponseDecoder
    extends LineOrientedDecoder

    HttpStatusResponseDecoder class.

    Version:
    $Id: $
    Author:
    ranger
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpStatusResponseDecoder​(java.nio.charset.Charset charset)
      Constructor for HttpStatusResponseDecoder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object parseCommand​(org.apache.mina.core.buffer.IoBuffer in)
      parseCommand
      • 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

      • HttpStatusResponseDecoder

        public HttpStatusResponseDecoder​(java.nio.charset.Charset charset)

        Constructor for HttpStatusResponseDecoder.

        Parameters:
        charset - a Charset object.
    • Method Detail

      • parseCommand

        protected java.lang.Object parseCommand​(org.apache.mina.core.buffer.IoBuffer in)
                                         throws java.nio.charset.CharacterCodingException

        parseCommand

        Overrides:
        parseCommand in class LineOrientedDecoder
        Parameters:
        in - a IoBuffer object.
        Returns:
        a Object object.
        Throws:
        java.nio.charset.CharacterCodingException - if any.