Interface HttpResponseCode


  • public interface HttpResponseCode
    Contains commons http response codes.
    Author:
    javaito
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.Integer ACCEPTED
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.3
      static java.lang.Integer BAD_GATEWAY
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.5.3
      static java.lang.Integer BAD_REQUEST
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.1
      static java.lang.Integer CONFLICT
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.10
      static java.lang.Integer CONTINUE
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.1.1
      static java.lang.Integer CREATED
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.2
      static java.lang.Integer EXPECTATION_FAILED
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.18
      static java.lang.Integer FORBIDDEN
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.4
      static java.lang.Integer FOUND
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.3
      static java.lang.Integer GATEWAY_TIMEOUT
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.5.5
      static java.lang.Integer GONE
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.11
      static java.lang.Integer HTTP_VERSION_NOT_SUPPORTED
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.5.6
      static java.lang.Integer INTERNAL_SERVER_ERROR
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.5.1
      static java.lang.Integer LENGTH_REQUIRED
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.12
      static java.lang.Integer METHOD_NOT_ALLOWED
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.6
      static java.lang.Integer MOVED_PERMANENTLY
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.2
      static java.lang.Integer MULTIPLE_CHOICES
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.1
      static java.lang.Integer NO_CONTENT
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.5
      static java.lang.Integer NON_AUTHORITATIVE_INFOTMATION
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.4
      static java.lang.Integer NOT_ACCEPTABLE
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.7
      static java.lang.Integer NOT_FOUND
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.5
      static java.lang.Integer NOT_IMPLEMENTED
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.5.2
      static java.lang.Integer NOT_MODIFIED
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.5
      static java.lang.Integer OK
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.1
      static java.lang.Integer PARTIAL_CONTENT
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.7
      static java.lang.Integer PAYMENT_REQUIRED
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.3
      static java.lang.Integer PRECONDITION_FAILED
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.13
      static java.lang.Integer REQUEST_ENTITY_TOO_LARGE
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.14
      static java.lang.Integer REQUEST_TIMEOUT
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.9
      static java.lang.Integer REQUEST_URI_TOO_LARGE
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.15
      static java.lang.Integer REQUESTED_RANGE_NOT_SATISFIABLE
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.17
      static java.lang.Integer RESET_CONTENT
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.6
      static java.lang.Integer SEE_OTHER
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.4
      static java.lang.Integer SERVICE_UNAVAILABLE
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.5.4
      static java.lang.Integer SWITCHING_PROTOCOLS
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.1.2
      static java.lang.Integer TEMPORARY_REDIRECT
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.8
      static java.lang.Integer UNAUTHORIZED
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.2
      static java.lang.Integer UNSUPPORTED_MEDIA_TYPE
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.16
      static java.lang.Integer USE_PROXY
      href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.6
    • Field Detail

      • CONTINUE

        static final java.lang.Integer CONTINUE
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.1.1
      • SWITCHING_PROTOCOLS

        static final java.lang.Integer SWITCHING_PROTOCOLS
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.1.2
      • OK

        static final java.lang.Integer OK
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.1
      • CREATED

        static final java.lang.Integer CREATED
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.2
      • ACCEPTED

        static final java.lang.Integer ACCEPTED
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.3
      • NON_AUTHORITATIVE_INFOTMATION

        static final java.lang.Integer NON_AUTHORITATIVE_INFOTMATION
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.4
      • NO_CONTENT

        static final java.lang.Integer NO_CONTENT
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.5
      • RESET_CONTENT

        static final java.lang.Integer RESET_CONTENT
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.6
      • PARTIAL_CONTENT

        static final java.lang.Integer PARTIAL_CONTENT
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.2.7
      • MULTIPLE_CHOICES

        static final java.lang.Integer MULTIPLE_CHOICES
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.1
      • MOVED_PERMANENTLY

        static final java.lang.Integer MOVED_PERMANENTLY
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.2
      • FOUND

        static final java.lang.Integer FOUND
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.3
      • SEE_OTHER

        static final java.lang.Integer SEE_OTHER
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.4
      • NOT_MODIFIED

        static final java.lang.Integer NOT_MODIFIED
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.5
      • USE_PROXY

        static final java.lang.Integer USE_PROXY
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.6
      • TEMPORARY_REDIRECT

        static final java.lang.Integer TEMPORARY_REDIRECT
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.3.8
      • BAD_REQUEST

        static final java.lang.Integer BAD_REQUEST
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.1
      • UNAUTHORIZED

        static final java.lang.Integer UNAUTHORIZED
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.2
      • PAYMENT_REQUIRED

        static final java.lang.Integer PAYMENT_REQUIRED
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.3
      • FORBIDDEN

        static final java.lang.Integer FORBIDDEN
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.4
      • NOT_FOUND

        static final java.lang.Integer NOT_FOUND
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.5
      • METHOD_NOT_ALLOWED

        static final java.lang.Integer METHOD_NOT_ALLOWED
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.6
      • NOT_ACCEPTABLE

        static final java.lang.Integer NOT_ACCEPTABLE
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.7
      • REQUEST_TIMEOUT

        static final java.lang.Integer REQUEST_TIMEOUT
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.9
      • CONFLICT

        static final java.lang.Integer CONFLICT
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.10
      • GONE

        static final java.lang.Integer GONE
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.11
      • LENGTH_REQUIRED

        static final java.lang.Integer LENGTH_REQUIRED
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.12
      • PRECONDITION_FAILED

        static final java.lang.Integer PRECONDITION_FAILED
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.13
      • REQUEST_ENTITY_TOO_LARGE

        static final java.lang.Integer REQUEST_ENTITY_TOO_LARGE
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.14
      • REQUEST_URI_TOO_LARGE

        static final java.lang.Integer REQUEST_URI_TOO_LARGE
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.15
      • UNSUPPORTED_MEDIA_TYPE

        static final java.lang.Integer UNSUPPORTED_MEDIA_TYPE
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.16
      • REQUESTED_RANGE_NOT_SATISFIABLE

        static final java.lang.Integer REQUESTED_RANGE_NOT_SATISFIABLE
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.17
      • EXPECTATION_FAILED

        static final java.lang.Integer EXPECTATION_FAILED
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.4.18
      • INTERNAL_SERVER_ERROR

        static final java.lang.Integer INTERNAL_SERVER_ERROR
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.5.1
      • NOT_IMPLEMENTED

        static final java.lang.Integer NOT_IMPLEMENTED
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.5.2
      • BAD_GATEWAY

        static final java.lang.Integer BAD_GATEWAY
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.5.3
      • SERVICE_UNAVAILABLE

        static final java.lang.Integer SERVICE_UNAVAILABLE
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.5.4
      • GATEWAY_TIMEOUT

        static final java.lang.Integer GATEWAY_TIMEOUT
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.5.5
      • HTTP_VERSION_NOT_SUPPORTED

        static final java.lang.Integer HTTP_VERSION_NOT_SUPPORTED
        href=https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1.110.5.6