Class HTTPStatus

java.lang.Object
org.cybergarage.http.HTTPStatus

public class HTTPStatus extends Object
  • Field Details

  • Constructor Details

    • HTTPStatus

      public HTTPStatus()
    • HTTPStatus

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

      public HTTPStatus(String lineStr)
  • Method Details

    • 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)