Package com.azure.storage.queue
Enum QueueMessageEncoding
- All Implemented Interfaces:
Serializable
,Comparable<QueueMessageEncoding>
,java.lang.constant.Constable
Determines how queue message body is represented in HTTP requests and responses.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic QueueMessageEncoding
Returns the enum constant of this type with the specified name.static QueueMessageEncoding[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
The queue message body is represented verbatim in HTTP requests and responses. I.e. message is not transformed. -
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 Details
-
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
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 nameNullPointerException
- if the argument is null
-