Class HttpPacket

    • Constructor Summary

      Constructors 
      Constructor Description
      HttpPacket()  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract HttpHeader getHttpHeader()
      Get the HTTP message header, associated with this HTTP packet.
      abstract boolean isHeader()
      Returns true, if this HTTP message represents HTTP message header, or false otherwise.
      static boolean isHttp​(java.lang.Object packet)
      Returns true if passed Object is a HttpPacket.
      • Methods inherited from class java.lang.Object

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

      • HttpPacket

        public HttpPacket()
    • Method Detail

      • isHttp

        public static boolean isHttp​(java.lang.Object packet)
        Returns true if passed Object is a HttpPacket.
        Parameters:
        packet -
        Returns:
        true if passed Object is a HttpPacket.
      • isHeader

        public abstract boolean isHeader()
        Returns true, if this HTTP message represents HTTP message header, or false otherwise.
        Returns:
        true, if this HTTP message represents HTTP message header, or false otherwise.
      • getHttpHeader

        public abstract HttpHeader getHttpHeader()
        Get the HTTP message header, associated with this HTTP packet.
        Returns:
        HttpHeader.