public static enum Payload.Origin extends 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.
|
JWS_OBJECT
The payload was created from a JWS object.
|
SIGNED_JWT
The payload was created from a signed JSON Web Token (JWT).
|
STRING
The payload was created from a string.
|
Modifier and Type | Method and Description |
---|---|
static Payload.Origin |
valueOf(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 final Payload.Origin JWS_OBJECT
public static final Payload.Origin SIGNED_JWT
public static Payload.Origin[] values()
for (Payload.Origin c : Payload.Origin.values()) System.out.println(c);
public static Payload.Origin valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Connect2id Ltd.. All rights reserved.