Enum AmqpResponseCode

    • Enum Constant Detail

      • INTERNAL_SERVER_ERROR

        public static final AmqpResponseCode INTERNAL_SERVER_ERROR
        INTERNAL_SERVER_ERROR.
      • SWITCHING_PROTOCOLS

        public static final AmqpResponseCode SWITCHING_PROTOCOLS
        SWITCHING_PROTOCOLS.
      • NON_AUTHORITATIVE_INFORMATION

        public static final AmqpResponseCode NON_AUTHORITATIVE_INFORMATION
        NON_AUTHORITATIVE_INFORMATION.
      • RESET_CONTENT

        public static final AmqpResponseCode RESET_CONTENT
        RESET_CONTENT.
      • PARTIAL_CONTENT

        public static final AmqpResponseCode PARTIAL_CONTENT
        PARTIAL_CONTENT.
      • MULTIPLE_CHOICES

        public static final AmqpResponseCode MULTIPLE_CHOICES
        MULTIPLE_CHOICES.
      • MOVED_PERMANENTLY

        public static final AmqpResponseCode MOVED_PERMANENTLY
        MOVED_PERMANENTLY.
      • REDIRECT_METHOD

        public static final AmqpResponseCode REDIRECT_METHOD
        REDIRECT_METHOD.
      • 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.
      • 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.
      • 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 Detail

      • values

        public static AmqpResponseCode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AmqpResponseCode c : AmqpResponseCode.values())
            System.out.println(c);
        
        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