Interface StatusLine

  • All Known Implementing Classes:
    BasicStatusLine

    public interface StatusLine
    The first line of a Response message is the Status-Line, consisting of the protocol version followed by a numeric status code and its associated textual phrase, with each element separated by SP characters. No CR or LF is allowed except in the final CRLF sequence.
         Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF
     
    Since:
    4.0
    See Also:
    HttpStatus
    • Method Detail

      • getStatusCode

        int getStatusCode()
      • getReasonPhrase

        java.lang.String getReasonPhrase()