public enum HttpSignHeader extends Enum<HttpSignHeader>
| Enum Constant and 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 and Description |
|---|---|
static HttpSignHeader |
valueOf(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(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 © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.