Enum AmqpResponseCode

java.lang.Object
java.lang.Enum<AmqpResponseCode>
com.azure.core.amqp.exception.AmqpResponseCode
All Implemented Interfaces:
Serializable, Comparable<AmqpResponseCode>, java.lang.constant.Constable

public enum AmqpResponseCode extends Enum<AmqpResponseCode>
Error response codes returned from AMQP.
  • Enum Constant Details

    • ACCEPTED

      public static final AmqpResponseCode ACCEPTED
      ACCEPTED.
    • OK

      public static final AmqpResponseCode OK
      OK.
    • BAD_REQUEST

      public static final AmqpResponseCode BAD_REQUEST
      BAD_REQUEST.
    • NOT_FOUND

      public static final AmqpResponseCode NOT_FOUND
      NOT_FOUND.
    • FORBIDDEN

      public static final AmqpResponseCode FORBIDDEN
      FORBIDDEN.
    • INTERNAL_SERVER_ERROR

      public static final AmqpResponseCode INTERNAL_SERVER_ERROR
      INTERNAL_SERVER_ERROR.
    • UNAUTHORIZED

      public static final AmqpResponseCode UNAUTHORIZED
      UNAUTHORIZED.
    • CONTINUE

      public static final AmqpResponseCode CONTINUE
      CONTINUE.
    • SWITCHING_PROTOCOLS

      public static final AmqpResponseCode SWITCHING_PROTOCOLS
      SWITCHING_PROTOCOLS.
    • CREATED

      public static final AmqpResponseCode CREATED
      CREATED.
    • NON_AUTHORITATIVE_INFORMATION

      public static final AmqpResponseCode NON_AUTHORITATIVE_INFORMATION
      NON_AUTHORITATIVE_INFORMATION.
    • NO_CONTENT

      public static final AmqpResponseCode NO_CONTENT
      NO_CONTENT.
    • RESET_CONTENT

      public static final AmqpResponseCode RESET_CONTENT
      RESET_CONTENT.
    • PARTIAL_CONTENT

      public static final AmqpResponseCode PARTIAL_CONTENT
      PARTIAL_CONTENT.
    • AMBIGUOUS

      public static final AmqpResponseCode AMBIGUOUS
      AMBIGUOUS.
    • MULTIPLE_CHOICES

      public static final AmqpResponseCode MULTIPLE_CHOICES
      MULTIPLE_CHOICES.
    • MOVED

      public static final AmqpResponseCode MOVED
      MOVED.
    • MOVED_PERMANENTLY

      public static final AmqpResponseCode MOVED_PERMANENTLY
      MOVED_PERMANENTLY.
    • FOUND

      public static final AmqpResponseCode FOUND
      FOUND.
    • REDIRECT

      public static final AmqpResponseCode REDIRECT
      REDIRECT.
    • REDIRECT_METHOD

      public static final AmqpResponseCode REDIRECT_METHOD
      REDIRECT_METHOD.
    • SEE_OTHER

      public static final AmqpResponseCode SEE_OTHER
      SEE_OTHER.
    • NOT_MODIFIED

      public static final AmqpResponseCode NOT_MODIFIED
      NOT_MODIFIED.
    • USE_PROXY

      public static final AmqpResponseCode USE_PROXY
      USE_PROXY.
    • UNUSED

      public static final AmqpResponseCode UNUSED
      UNUSED.
    • REDIRECT_KEEP_VERB

      public static final AmqpResponseCode REDIRECT_KEEP_VERB
      REDIRECT_KEEP_VERB.
    • TEMPORARY_REDIRECT

      public static final AmqpResponseCode TEMPORARY_REDIRECT
      TEMPORARY_REDIRECT.
    • PAYMENT_REQUIRED

      public static final AmqpResponseCode PAYMENT_REQUIRED
      PAYMENT_REQUIRED.
    • METHOD_NOT_ALLOWED

      public static final AmqpResponseCode METHOD_NOT_ALLOWED
      METHOD_NOT_ALLOWED.
    • NOT_ACCEPTABLE

      public static final AmqpResponseCode NOT_ACCEPTABLE
      NOT_ACCEPTABLE.
    • PROXY_AUTHENTICATION_REQUIRED

      public static final AmqpResponseCode PROXY_AUTHENTICATION_REQUIRED
      PROXY_AUTHENTICATION_REQUIRED.
    • REQUEST_TIMEOUT

      public static final AmqpResponseCode REQUEST_TIMEOUT
      REQUEST_TIMEOUT.
    • CONFLICT

      public static final AmqpResponseCode CONFLICT
      CONFLICT.
    • GONE

      public static final AmqpResponseCode GONE
      GONE.
    • LENGTH_REQUIRED

      public static final AmqpResponseCode LENGTH_REQUIRED
      LENGTH_REQUIRED.
    • PRECONDITION_FAILED

      public static final AmqpResponseCode PRECONDITION_FAILED
      PRECONDITION_FAILED.
    • REQUEST_ENTITY_TOO_LARGE

      public static final AmqpResponseCode REQUEST_ENTITY_TOO_LARGE
      REQUEST_ENTITY_TOO_LARGE.
    • REQUEST_URI_TOO_LONG

      public static final AmqpResponseCode REQUEST_URI_TOO_LONG
      REQUEST_URI_TOO_LONG.
    • UNSUPPORTED_MEDIA_TYPE

      public static final AmqpResponseCode UNSUPPORTED_MEDIA_TYPE
      UNSUPPORTED_MEDIA_TYPE.
    • REQUESTED_RANGE_NOT_SATISFIABLE

      public static final AmqpResponseCode REQUESTED_RANGE_NOT_SATISFIABLE
      REQUESTED_RANGE_NOT_SATISFIABLE.
    • EXPECTATION_FAILED

      public static final AmqpResponseCode EXPECTATION_FAILED
      EXPECTATION_FAILED.
    • UPGRADE_REQUIRED

      public static final AmqpResponseCode UPGRADE_REQUIRED
      UPGRADE_REQUIRED.
    • NOT_IMPLEMENTED

      public static final AmqpResponseCode NOT_IMPLEMENTED
      NOT_IMPLEMENTED.
    • BAD_GATEWAY

      public static final AmqpResponseCode BAD_GATEWAY
      BAD_GATEWAY.
    • SERVICE_UNAVAILABLE

      public static final AmqpResponseCode SERVICE_UNAVAILABLE
      SERVICE_UNAVAILABLE.
    • GATEWAY_TIMEOUT

      public static final AmqpResponseCode GATEWAY_TIMEOUT
      GATEWAY_TIMEOUT.
    • HTTP_VERSION_NOT_SUPPORTED

      public static final AmqpResponseCode HTTP_VERSION_NOT_SUPPORTED
      HTTP_VERSION_NOT_SUPPORTED.
  • Method Details

    • values

      public static AmqpResponseCode[] 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

      public static AmqpResponseCode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • fromValue

      public static AmqpResponseCode fromValue(int value)
      Creates an AmqpResponseCode for the provided integer value.
      Parameters:
      value - The integer value representing an error code.
      Returns:
      The corresponding AmqpResponseCode for the provided value, or null if no matching response code is found.
    • getValue

      public int getValue()
      Gets the integer value of the AmqpResponseCode
      Returns:
      The integer value of the AmqpResponseCode