Class HttpStatusCode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<HttpStatusCode>
com.azure.resourcemanager.automation.models.HttpStatusCode

public final class HttpStatusCode extends com.azure.core.util.ExpandableStringEnum<HttpStatusCode>
Defines values for HttpStatusCode.
  • Field Details

    • CONTINUE

      public static final HttpStatusCode CONTINUE
      Static value Continue for HttpStatusCode.
    • SWITCHING_PROTOCOLS

      public static final HttpStatusCode SWITCHING_PROTOCOLS
      Static value SwitchingProtocols for HttpStatusCode.
    • OK

      public static final HttpStatusCode OK
      Static value OK for HttpStatusCode.
    • CREATED

      public static final HttpStatusCode CREATED
      Static value Created for HttpStatusCode.
    • ACCEPTED

      public static final HttpStatusCode ACCEPTED
      Static value Accepted for HttpStatusCode.
    • NON_AUTHORITATIVE_INFORMATION

      public static final HttpStatusCode NON_AUTHORITATIVE_INFORMATION
      Static value NonAuthoritativeInformation for HttpStatusCode.
    • NO_CONTENT

      public static final HttpStatusCode NO_CONTENT
      Static value NoContent for HttpStatusCode.
    • RESET_CONTENT

      public static final HttpStatusCode RESET_CONTENT
      Static value ResetContent for HttpStatusCode.
    • PARTIAL_CONTENT

      public static final HttpStatusCode PARTIAL_CONTENT
      Static value PartialContent for HttpStatusCode.
    • MULTIPLE_CHOICES

      public static final HttpStatusCode MULTIPLE_CHOICES
      Static value MultipleChoices for HttpStatusCode.
    • AMBIGUOUS

      public static final HttpStatusCode AMBIGUOUS
      Static value Ambiguous for HttpStatusCode.
    • MOVED_PERMANENTLY

      public static final HttpStatusCode MOVED_PERMANENTLY
      Static value MovedPermanently for HttpStatusCode.
    • MOVED

      public static final HttpStatusCode MOVED
      Static value Moved for HttpStatusCode.
    • FOUND

      public static final HttpStatusCode FOUND
      Static value Found for HttpStatusCode.
    • REDIRECT

      public static final HttpStatusCode REDIRECT
      Static value Redirect for HttpStatusCode.
    • SEE_OTHER

      public static final HttpStatusCode SEE_OTHER
      Static value SeeOther for HttpStatusCode.
    • REDIRECT_METHOD

      public static final HttpStatusCode REDIRECT_METHOD
      Static value RedirectMethod for HttpStatusCode.
    • NOT_MODIFIED

      public static final HttpStatusCode NOT_MODIFIED
      Static value NotModified for HttpStatusCode.
    • USE_PROXY

      public static final HttpStatusCode USE_PROXY
      Static value UseProxy for HttpStatusCode.
    • UNUSED

      public static final HttpStatusCode UNUSED
      Static value Unused for HttpStatusCode.
    • TEMPORARY_REDIRECT

      public static final HttpStatusCode TEMPORARY_REDIRECT
      Static value TemporaryRedirect for HttpStatusCode.
    • REDIRECT_KEEP_VERB

      public static final HttpStatusCode REDIRECT_KEEP_VERB
      Static value RedirectKeepVerb for HttpStatusCode.
    • BAD_REQUEST

      public static final HttpStatusCode BAD_REQUEST
      Static value BadRequest for HttpStatusCode.
    • UNAUTHORIZED

      public static final HttpStatusCode UNAUTHORIZED
      Static value Unauthorized for HttpStatusCode.
    • PAYMENT_REQUIRED

      public static final HttpStatusCode PAYMENT_REQUIRED
      Static value PaymentRequired for HttpStatusCode.
    • FORBIDDEN

      public static final HttpStatusCode FORBIDDEN
      Static value Forbidden for HttpStatusCode.
    • NOT_FOUND

      public static final HttpStatusCode NOT_FOUND
      Static value NotFound for HttpStatusCode.
    • METHOD_NOT_ALLOWED

      public static final HttpStatusCode METHOD_NOT_ALLOWED
      Static value MethodNotAllowed for HttpStatusCode.
    • NOT_ACCEPTABLE

      public static final HttpStatusCode NOT_ACCEPTABLE
      Static value NotAcceptable for HttpStatusCode.
    • PROXY_AUTHENTICATION_REQUIRED

      public static final HttpStatusCode PROXY_AUTHENTICATION_REQUIRED
      Static value ProxyAuthenticationRequired for HttpStatusCode.
    • REQUEST_TIMEOUT

      public static final HttpStatusCode REQUEST_TIMEOUT
      Static value RequestTimeout for HttpStatusCode.
    • CONFLICT

      public static final HttpStatusCode CONFLICT
      Static value Conflict for HttpStatusCode.
    • GONE

      public static final HttpStatusCode GONE
      Static value Gone for HttpStatusCode.
    • LENGTH_REQUIRED

      public static final HttpStatusCode LENGTH_REQUIRED
      Static value LengthRequired for HttpStatusCode.
    • PRECONDITION_FAILED

      public static final HttpStatusCode PRECONDITION_FAILED
      Static value PreconditionFailed for HttpStatusCode.
    • REQUEST_ENTITY_TOO_LARGE

      public static final HttpStatusCode REQUEST_ENTITY_TOO_LARGE
      Static value RequestEntityTooLarge for HttpStatusCode.
    • REQUEST_URI_TOO_LONG

      public static final HttpStatusCode REQUEST_URI_TOO_LONG
      Static value RequestUriTooLong for HttpStatusCode.
    • UNSUPPORTED_MEDIA_TYPE

      public static final HttpStatusCode UNSUPPORTED_MEDIA_TYPE
      Static value UnsupportedMediaType for HttpStatusCode.
    • REQUESTED_RANGE_NOT_SATISFIABLE

      public static final HttpStatusCode REQUESTED_RANGE_NOT_SATISFIABLE
      Static value RequestedRangeNotSatisfiable for HttpStatusCode.
    • EXPECTATION_FAILED

      public static final HttpStatusCode EXPECTATION_FAILED
      Static value ExpectationFailed for HttpStatusCode.
    • UPGRADE_REQUIRED

      public static final HttpStatusCode UPGRADE_REQUIRED
      Static value UpgradeRequired for HttpStatusCode.
    • INTERNAL_SERVER_ERROR

      public static final HttpStatusCode INTERNAL_SERVER_ERROR
      Static value InternalServerError for HttpStatusCode.
    • NOT_IMPLEMENTED

      public static final HttpStatusCode NOT_IMPLEMENTED
      Static value NotImplemented for HttpStatusCode.
    • BAD_GATEWAY

      public static final HttpStatusCode BAD_GATEWAY
      Static value BadGateway for HttpStatusCode.
    • SERVICE_UNAVAILABLE

      public static final HttpStatusCode SERVICE_UNAVAILABLE
      Static value ServiceUnavailable for HttpStatusCode.
    • GATEWAY_TIMEOUT

      public static final HttpStatusCode GATEWAY_TIMEOUT
      Static value GatewayTimeout for HttpStatusCode.
    • HTTP_VERSION_NOT_SUPPORTED

      public static final HttpStatusCode HTTP_VERSION_NOT_SUPPORTED
      Static value HttpVersionNotSupported for HttpStatusCode.
  • Constructor Details

    • HttpStatusCode

      public HttpStatusCode()
  • Method Details

    • fromString

      public static HttpStatusCode fromString(String name)
      Creates or finds a HttpStatusCode from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding HttpStatusCode.
    • values

      public static Collection<HttpStatusCode> values()
      Gets known HttpStatusCode values.
      Returns:
      known HttpStatusCode values.