Enum QueueMessageEncoding

    • Enum Constant Detail

      • NONE

        public static final QueueMessageEncoding NONE
        The queue message body is represented verbatim in HTTP requests and responses. I.e. message is not transformed.
      • BASE64

        public static final QueueMessageEncoding BASE64
        The queue message body is represented as Base64 encoded string in HTTP requests and responses.

        This was the default behavior in the prior v8 and v11 library. Using this option can make interop with an existing application easier.

    • Method Detail

      • values

        public static QueueMessageEncoding[] 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 (QueueMessageEncoding c : QueueMessageEncoding.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static QueueMessageEncoding 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