public static enum Payload.Origin extends java.lang.Enum<Payload.Origin>
Payload
.Enum Constant and Description |
---|
BASE64URL
The payload was created from a Base64URL-encoded object.
|
BYTE_ARRAY
The payload was created from a byte array.
|
JSON
The payload was created from a JSON object.
|
STRING
The payload was created from a string.
|
Modifier and Type | Method and Description |
---|---|
static Payload.Origin |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Payload.Origin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Payload.Origin JSON
public static final Payload.Origin STRING
public static final Payload.Origin BYTE_ARRAY
public static final Payload.Origin BASE64URL
public static Payload.Origin[] values()
for (Payload.Origin c : Payload.Origin.values()) System.out.println(c);
public static Payload.Origin valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2014 Connect2id Ltd.. All Rights Reserved.