public enum HttpSignHeader extends java.lang.Enum<HttpSignHeader>
| Enum Constant | Description |
|---|---|
AUTHORIZATION |
Creates (or validates) an "Authorization" header, that contains "Signature" as the
beginning of its content (the rest of the header is the same as for
SIGNATURE. |
SIGNATURE |
Creates (or validates) a "Signature" header.
|
| Modifier and Type | Method | Description |
|---|---|---|
static HttpSignHeader |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HttpSignHeader[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpSignHeader SIGNATURE
public static final HttpSignHeader AUTHORIZATION
SIGNATURE.public static HttpSignHeader[] values()
for (HttpSignHeader c : HttpSignHeader.values()) System.out.println(c);
public static HttpSignHeader 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 © 2018 Oracle Corporation. All rights reserved.