Class HTTPStatus


  • public class HTTPStatus
    extends Object
    • Constructor Detail

      • HTTPStatus

        public HTTPStatus()
      • HTTPStatus

        public HTTPStatus​(String ver,
                          int code,
                          String reason)
      • HTTPStatus

        public HTTPStatus​(String lineStr)
    • Method Detail

      • code2String

        public static final String code2String​(int code)
      • setVersion

        public void setVersion​(String value)
      • setStatusCode

        public void setStatusCode​(int value)
      • setReasonPhrase

        public void setReasonPhrase​(String value)
      • getVersion

        public String getVersion()
      • getStatusCode

        public int getStatusCode()
      • getReasonPhrase

        public String getReasonPhrase()
      • isSuccessful

        public static final boolean isSuccessful​(int statCode)
      • isSuccessful

        public boolean isSuccessful()
      • set

        public void set​(String lineStr)