Enum HttpStatusCode
java.lang.Object
java.lang.Enum<HttpStatusCode>
com.azure.resourcemanager.recoveryservicesbackup.models.HttpStatusCode
- All Implemented Interfaces:
Serializable
,Comparable<HttpStatusCode>
,java.lang.constant.Constable
HTTP Status Code of the operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEnum value Accepted.Enum value Ambiguous.Enum value BadGateway.Enum value BadRequest.Enum value Conflict.Enum value Continue.Enum value Created.Enum value ExpectationFailed.Enum value Forbidden.Enum value Found.Enum value GatewayTimeout.Enum value Gone.Enum value HttpVersionNotSupported.Enum value InternalServerError.Enum value LengthRequired.Enum value MethodNotAllowed.Enum value Moved.Enum value MovedPermanently.Enum value MultipleChoices.Enum value NoContent.Enum value NonAuthoritativeInformation.Enum value NotAcceptable.Enum value NotFound.Enum value NotImplemented.Enum value NotModified.Enum value OK.Enum value PartialContent.Enum value PaymentRequired.Enum value PreconditionFailed.Enum value ProxyAuthenticationRequired.Enum value Redirect.Enum value RedirectKeepVerb.Enum value RedirectMethod.Enum value RequestEntityTooLarge.Enum value RequestTimeout.Enum value RequestUriTooLong.Enum value RequestedRangeNotSatisfiable.Enum value ResetContent.Enum value SeeOther.Enum value ServiceUnavailable.Enum value SwitchingProtocols.Enum value TemporaryRedirect.Enum value Unauthorized.Enum value UnsupportedMediaType.Enum value Unused.Enum value UpgradeRequired.Enum value UseProxy. -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpStatusCode
fromString
(String value) Parses a serialized value to a HttpStatusCode instance.toString()
static HttpStatusCode
Returns the enum constant of this type with the specified name.static HttpStatusCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONTINUE
Enum value Continue. -
SWITCHING_PROTOCOLS
Enum value SwitchingProtocols. -
OK
Enum value OK. -
CREATED
Enum value Created. -
ACCEPTED
Enum value Accepted. -
NON_AUTHORITATIVE_INFORMATION
Enum value NonAuthoritativeInformation. -
NO_CONTENT
Enum value NoContent. -
RESET_CONTENT
Enum value ResetContent. -
PARTIAL_CONTENT
Enum value PartialContent. -
MULTIPLE_CHOICES
Enum value MultipleChoices. -
AMBIGUOUS
Enum value Ambiguous. -
MOVED_PERMANENTLY
Enum value MovedPermanently. -
MOVED
Enum value Moved. -
FOUND
Enum value Found. -
REDIRECT
Enum value Redirect. -
SEE_OTHER
Enum value SeeOther. -
REDIRECT_METHOD
Enum value RedirectMethod. -
NOT_MODIFIED
Enum value NotModified. -
USE_PROXY
Enum value UseProxy. -
UNUSED
Enum value Unused. -
TEMPORARY_REDIRECT
Enum value TemporaryRedirect. -
REDIRECT_KEEP_VERB
Enum value RedirectKeepVerb. -
BAD_REQUEST
Enum value BadRequest. -
UNAUTHORIZED
Enum value Unauthorized. -
PAYMENT_REQUIRED
Enum value PaymentRequired. -
FORBIDDEN
Enum value Forbidden. -
NOT_FOUND
Enum value NotFound. -
METHOD_NOT_ALLOWED
Enum value MethodNotAllowed. -
NOT_ACCEPTABLE
Enum value NotAcceptable. -
PROXY_AUTHENTICATION_REQUIRED
Enum value ProxyAuthenticationRequired. -
REQUEST_TIMEOUT
Enum value RequestTimeout. -
CONFLICT
Enum value Conflict. -
GONE
Enum value Gone. -
LENGTH_REQUIRED
Enum value LengthRequired. -
PRECONDITION_FAILED
Enum value PreconditionFailed. -
REQUEST_ENTITY_TOO_LARGE
Enum value RequestEntityTooLarge. -
REQUEST_URI_TOO_LONG
Enum value RequestUriTooLong. -
UNSUPPORTED_MEDIA_TYPE
Enum value UnsupportedMediaType. -
REQUESTED_RANGE_NOT_SATISFIABLE
Enum value RequestedRangeNotSatisfiable. -
EXPECTATION_FAILED
Enum value ExpectationFailed. -
UPGRADE_REQUIRED
Enum value UpgradeRequired. -
INTERNAL_SERVER_ERROR
Enum value InternalServerError. -
NOT_IMPLEMENTED
Enum value NotImplemented. -
BAD_GATEWAY
Enum value BadGateway. -
SERVICE_UNAVAILABLE
Enum value ServiceUnavailable. -
GATEWAY_TIMEOUT
Enum value GatewayTimeout. -
HTTP_VERSION_NOT_SUPPORTED
Enum value HttpVersionNotSupported.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
Parses a serialized value to a HttpStatusCode instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed HttpStatusCode object, or null if unable to parse.
-
toString
- Overrides:
toString
in classEnum<HttpStatusCode>
-