Class HttpStatusCode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<HttpStatusCode>
com.azure.resourcemanager.automation.models.HttpStatusCode
Defines values for HttpStatusCode.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HttpStatusCode
Static value Accepted for HttpStatusCode.static final HttpStatusCode
Static value Ambiguous for HttpStatusCode.static final HttpStatusCode
Static value BadGateway for HttpStatusCode.static final HttpStatusCode
Static value BadRequest for HttpStatusCode.static final HttpStatusCode
Static value Conflict for HttpStatusCode.static final HttpStatusCode
Static value Continue for HttpStatusCode.static final HttpStatusCode
Static value Created for HttpStatusCode.static final HttpStatusCode
Static value ExpectationFailed for HttpStatusCode.static final HttpStatusCode
Static value Forbidden for HttpStatusCode.static final HttpStatusCode
Static value Found for HttpStatusCode.static final HttpStatusCode
Static value GatewayTimeout for HttpStatusCode.static final HttpStatusCode
Static value Gone for HttpStatusCode.static final HttpStatusCode
Static value HttpVersionNotSupported for HttpStatusCode.static final HttpStatusCode
Static value InternalServerError for HttpStatusCode.static final HttpStatusCode
Static value LengthRequired for HttpStatusCode.static final HttpStatusCode
Static value MethodNotAllowed for HttpStatusCode.static final HttpStatusCode
Static value Moved for HttpStatusCode.static final HttpStatusCode
Static value MovedPermanently for HttpStatusCode.static final HttpStatusCode
Static value MultipleChoices for HttpStatusCode.static final HttpStatusCode
Static value NoContent for HttpStatusCode.static final HttpStatusCode
Static value NonAuthoritativeInformation for HttpStatusCode.static final HttpStatusCode
Static value NotAcceptable for HttpStatusCode.static final HttpStatusCode
Static value NotFound for HttpStatusCode.static final HttpStatusCode
Static value NotImplemented for HttpStatusCode.static final HttpStatusCode
Static value NotModified for HttpStatusCode.static final HttpStatusCode
Static value OK for HttpStatusCode.static final HttpStatusCode
Static value PartialContent for HttpStatusCode.static final HttpStatusCode
Static value PaymentRequired for HttpStatusCode.static final HttpStatusCode
Static value PreconditionFailed for HttpStatusCode.static final HttpStatusCode
Static value ProxyAuthenticationRequired for HttpStatusCode.static final HttpStatusCode
Static value Redirect for HttpStatusCode.static final HttpStatusCode
Static value RedirectKeepVerb for HttpStatusCode.static final HttpStatusCode
Static value RedirectMethod for HttpStatusCode.static final HttpStatusCode
Static value RequestEntityTooLarge for HttpStatusCode.static final HttpStatusCode
Static value RequestTimeout for HttpStatusCode.static final HttpStatusCode
Static value RequestUriTooLong for HttpStatusCode.static final HttpStatusCode
Static value RequestedRangeNotSatisfiable for HttpStatusCode.static final HttpStatusCode
Static value ResetContent for HttpStatusCode.static final HttpStatusCode
Static value SeeOther for HttpStatusCode.static final HttpStatusCode
Static value ServiceUnavailable for HttpStatusCode.static final HttpStatusCode
Static value SwitchingProtocols for HttpStatusCode.static final HttpStatusCode
Static value TemporaryRedirect for HttpStatusCode.static final HttpStatusCode
Static value Unauthorized for HttpStatusCode.static final HttpStatusCode
Static value UnsupportedMediaType for HttpStatusCode.static final HttpStatusCode
Static value Unused for HttpStatusCode.static final HttpStatusCode
Static value UpgradeRequired for HttpStatusCode.static final HttpStatusCode
Static value UseProxy for HttpStatusCode. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpStatusCode
fromString
(String name) Creates or finds a HttpStatusCode from its string representation.static Collection<HttpStatusCode>
values()
Gets known HttpStatusCode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
CONTINUE
Static value Continue for HttpStatusCode. -
SWITCHING_PROTOCOLS
Static value SwitchingProtocols for HttpStatusCode. -
OK
Static value OK for HttpStatusCode. -
CREATED
Static value Created for HttpStatusCode. -
ACCEPTED
Static value Accepted for HttpStatusCode. -
NON_AUTHORITATIVE_INFORMATION
Static value NonAuthoritativeInformation for HttpStatusCode. -
NO_CONTENT
Static value NoContent for HttpStatusCode. -
RESET_CONTENT
Static value ResetContent for HttpStatusCode. -
PARTIAL_CONTENT
Static value PartialContent for HttpStatusCode. -
MULTIPLE_CHOICES
Static value MultipleChoices for HttpStatusCode. -
AMBIGUOUS
Static value Ambiguous for HttpStatusCode. -
MOVED_PERMANENTLY
Static value MovedPermanently for HttpStatusCode. -
MOVED
Static value Moved for HttpStatusCode. -
FOUND
Static value Found for HttpStatusCode. -
REDIRECT
Static value Redirect for HttpStatusCode. -
SEE_OTHER
Static value SeeOther for HttpStatusCode. -
REDIRECT_METHOD
Static value RedirectMethod for HttpStatusCode. -
NOT_MODIFIED
Static value NotModified for HttpStatusCode. -
USE_PROXY
Static value UseProxy for HttpStatusCode. -
UNUSED
Static value Unused for HttpStatusCode. -
TEMPORARY_REDIRECT
Static value TemporaryRedirect for HttpStatusCode. -
REDIRECT_KEEP_VERB
Static value RedirectKeepVerb for HttpStatusCode. -
BAD_REQUEST
Static value BadRequest for HttpStatusCode. -
UNAUTHORIZED
Static value Unauthorized for HttpStatusCode. -
PAYMENT_REQUIRED
Static value PaymentRequired for HttpStatusCode. -
FORBIDDEN
Static value Forbidden for HttpStatusCode. -
NOT_FOUND
Static value NotFound for HttpStatusCode. -
METHOD_NOT_ALLOWED
Static value MethodNotAllowed for HttpStatusCode. -
NOT_ACCEPTABLE
Static value NotAcceptable for HttpStatusCode. -
PROXY_AUTHENTICATION_REQUIRED
Static value ProxyAuthenticationRequired for HttpStatusCode. -
REQUEST_TIMEOUT
Static value RequestTimeout for HttpStatusCode. -
CONFLICT
Static value Conflict for HttpStatusCode. -
GONE
Static value Gone for HttpStatusCode. -
LENGTH_REQUIRED
Static value LengthRequired for HttpStatusCode. -
PRECONDITION_FAILED
Static value PreconditionFailed for HttpStatusCode. -
REQUEST_ENTITY_TOO_LARGE
Static value RequestEntityTooLarge for HttpStatusCode. -
REQUEST_URI_TOO_LONG
Static value RequestUriTooLong for HttpStatusCode. -
UNSUPPORTED_MEDIA_TYPE
Static value UnsupportedMediaType for HttpStatusCode. -
REQUESTED_RANGE_NOT_SATISFIABLE
Static value RequestedRangeNotSatisfiable for HttpStatusCode. -
EXPECTATION_FAILED
Static value ExpectationFailed for HttpStatusCode. -
UPGRADE_REQUIRED
Static value UpgradeRequired for HttpStatusCode. -
INTERNAL_SERVER_ERROR
Static value InternalServerError for HttpStatusCode. -
NOT_IMPLEMENTED
Static value NotImplemented for HttpStatusCode. -
BAD_GATEWAY
Static value BadGateway for HttpStatusCode. -
SERVICE_UNAVAILABLE
Static value ServiceUnavailable for HttpStatusCode. -
GATEWAY_TIMEOUT
Static value GatewayTimeout for HttpStatusCode. -
HTTP_VERSION_NOT_SUPPORTED
Static value HttpVersionNotSupported for HttpStatusCode.
-
-
Constructor Details
-
HttpStatusCode
public HttpStatusCode()
-
-
Method Details
-
fromString
Creates or finds a HttpStatusCode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding HttpStatusCode.
-
values
Gets known HttpStatusCode values.- Returns:
- known HttpStatusCode values.
-