Class HttpContentHandler

  • Direct Known Subclasses:
    CIMIndicationHandler

    public abstract class HttpContentHandler
    extends java.lang.Object
    Class HttpContentHandler is responsible for handling the content of an http connection.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void close()
      Closes the handler
      abstract void handleContent​(MessageReader pMessageReader, MessageWriter pMessageWriter, java.net.InetAddress pInetAddress, java.lang.String pLocalAddress)
      Handles the content of a given connection
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpContentHandler

        public HttpContentHandler()
    • Method Detail

      • handleContent

        public abstract void handleContent​(MessageReader pMessageReader,
                                           MessageWriter pMessageWriter,
                                           java.net.InetAddress pInetAddress,
                                           java.lang.String pLocalAddress)
                                    throws HttpException,
                                           java.io.IOException
        Handles the content of a given connection
        Parameters:
        pMessageReader - The reader of the connection
        pMessageWriter - The writer of the connection
        pInetAddress - The remote network address
        pLocalAddress - The local network address
        Throws:
        HttpException
        java.io.IOException
      • close

        public abstract void close()
        Closes the handler