Class HttpStatus

java.lang.Object
oracle.wcc.ridc.adfca.http.internal.HttpStatus

public class HttpStatus extends Object
HttpStatus HTTP status codes
  • Field Details

    • CONTINUE

      public static final HttpStatus CONTINUE
    • OK

      public static final HttpStatus OK
    • CREATED

      public static final HttpStatus CREATED
    • NO_CONTENT

      public static final HttpStatus NO_CONTENT
    • MULTISTATUS

      public static final HttpStatus MULTISTATUS
    • MOVED_PERMANENTLY

      public static final HttpStatus MOVED_PERMANENTLY
    • NOT_MODIFIED

      public static final HttpStatus NOT_MODIFIED
    • TEMPORARY_REDIRECT

      public static final HttpStatus TEMPORARY_REDIRECT
    • BAD_REQUEST

      public static final HttpStatus BAD_REQUEST
    • FORBIDDEN

      public static final HttpStatus FORBIDDEN
    • NOT_FOUND

      public static final HttpStatus NOT_FOUND
    • NOT_ACCEPTABLE

      public static final HttpStatus NOT_ACCEPTABLE
    • PRECONDITION_FAILED

      public static final HttpStatus PRECONDITION_FAILED
    • INTERNAL_SERVER_ERRROR

      public static final HttpStatus INTERNAL_SERVER_ERRROR
    • NOT_IMPLEMENTED

      public static final HttpStatus NOT_IMPLEMENTED
  • Method Details

    • getCode

      public int getCode()
      The status code.
      Returns:
      the status code.
    • getMessage

      public String getMessage()
      The status message, always non-null.
      Returns:
      the status message, always non-null.
    • getHttpStatusLine

      public String getHttpStatusLine()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Parameters:
      o - an object to test for equality.
      Returns:
      true if the supplied object is a status equal to this.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isSuccess

      public boolean isSuccess()