Class BasicStatusLine

    • Constructor Detail

      • BasicStatusLine

        public BasicStatusLine​(ProtocolVersion version,
                               int statusCode,
                               java.lang.String reasonPhrase)
        Creates a new status line with the given version, status, and reason.
        Parameters:
        version - the protocol version of the response
        statusCode - the status code of the response
        reasonPhrase - the reason phrase to the status code, or null
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Throws:
        java.lang.CloneNotSupportedException