public enum HTTPResponseCode extends java.lang.Enum<HTTPResponseCode>
Modifier and Type | Method | Description |
---|---|---|
static HTTPResponseCode |
findResponseCode(int val) |
|
int |
getId() |
|
java.lang.String |
toString() |
|
static HTTPResponseCode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HTTPResponseCode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPResponseCode Continue
public static final HTTPResponseCode SwitchingProtocols
public static final HTTPResponseCode Processing
public static final HTTPResponseCode OK
public static final HTTPResponseCode Created
public static final HTTPResponseCode Accepted
public static final HTTPResponseCode NonAuthoritativeInformation
public static final HTTPResponseCode NoContent
public static final HTTPResponseCode ResetContent
public static final HTTPResponseCode PartialContent
public static final HTTPResponseCode MultiStatus
public static final HTTPResponseCode AlreadyReported
public static final HTTPResponseCode LowOnStorageSpace
public static final HTTPResponseCode IMUsed
public static final HTTPResponseCode MultipleChoices
public static final HTTPResponseCode MovedPermanently
public static final HTTPResponseCode Found
public static final HTTPResponseCode SeeOther
public static final HTTPResponseCode NotModified
public static final HTTPResponseCode Unused
public static final HTTPResponseCode SwitchProxy
public static final HTTPResponseCode TemporaryRedirect
public static final HTTPResponseCode PermanentRedirect
public static final HTTPResponseCode BadRequest
public static final HTTPResponseCode Unauthorized
public static final HTTPResponseCode PaymentRequired
public static final HTTPResponseCode Forbidden
public static final HTTPResponseCode NotFound
public static final HTTPResponseCode MethodNotAllowed
public static final HTTPResponseCode NotAcceptable
public static final HTTPResponseCode ProxyAuthenticationRequired
public static final HTTPResponseCode RequestTimeout
public static final HTTPResponseCode Conflict
public static final HTTPResponseCode Gone
public static final HTTPResponseCode LengthRequired
public static final HTTPResponseCode PreconditionFailed
public static final HTTPResponseCode RequestEntityTooLarge
public static final HTTPResponseCode RequestURITooLong
public static final HTTPResponseCode UnsupportedMediaType
public static final HTTPResponseCode RequestedRangeNotSatisfiable
public static final HTTPResponseCode ExpectationFailed
public static final HTTPResponseCode ImAteapot
public static final HTTPResponseCode EnhanceYourClaim
public static final HTTPResponseCode MisdirectedRequest
public static final HTTPResponseCode UnprocessableEntity
public static final HTTPResponseCode Locked
public static final HTTPResponseCode FailedDependency
public static final HTTPResponseCode UnorderedCollection
public static final HTTPResponseCode UpgradeRequired
public static final HTTPResponseCode PreconditionRequired
public static final HTTPResponseCode TooManyRequests
public static final HTTPResponseCode RequestHeaderFieldsTooLarge
public static final HTTPResponseCode BlockedByWindowsParentalControls
public static final HTTPResponseCode UnavailableForLegalReasons
public static final HTTPResponseCode ConferenceNotFound
public static final HTTPResponseCode NotEnoughhBandwidth
public static final HTTPResponseCode SessionNotFound
public static final HTTPResponseCode MethodNotValidInThisState
public static final HTTPResponseCode HeaderFieldNotValidForRequest
public static final HTTPResponseCode InvalidRange
public static final HTTPResponseCode ParameterIsReadOnly
public static final HTTPResponseCode AggregateOperationNotAllowed
public static final HTTPResponseCode OnlyAggregateOperationAllowed
public static final HTTPResponseCode UnsupportedTransport
public static final HTTPResponseCode DestinationUnreachable
public static final HTTPResponseCode RequestHeaderTooLarge
public static final HTTPResponseCode CertError
public static final HTTPResponseCode NoCert
public static final HTTPResponseCode HttpToHttps
public static final HTTPResponseCode ClientClosedRequest
public static final HTTPResponseCode InternalServerError
public static final HTTPResponseCode NotImplemented
public static final HTTPResponseCode BadGateway
public static final HTTPResponseCode ServiceUnavailable
public static final HTTPResponseCode GatewayTimeout
public static final HTTPResponseCode HTTPVersionNotSupported
public static final HTTPResponseCode VariantAlsoNegotiates
public static final HTTPResponseCode InsufficientStorage
public static final HTTPResponseCode LoopDetected
public static final HTTPResponseCode NotExtended
public static final HTTPResponseCode NetworkAuthenticationRequired
public static final HTTPResponseCode OptionNotSupported
public static HTTPResponseCode[] values()
for (HTTPResponseCode c : HTTPResponseCode.values()) System.out.println(c);
public static HTTPResponseCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getId()
public java.lang.String toString()
toString
in class java.lang.Enum<HTTPResponseCode>
public static HTTPResponseCode findResponseCode(int val)