public enum RequestHeader extends Enum<RequestHeader>
| Enum Constant and Description |
|---|
ACCEPT |
CONTENT_TYPE |
X_MANAGEMENT_CLIENT_NAME |
| Modifier and Type | Method and Description |
|---|---|
String |
header() |
static RequestHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestHeader ACCEPT
public static final RequestHeader CONTENT_TYPE
public static final RequestHeader X_MANAGEMENT_CLIENT_NAME
public static RequestHeader[] values()
for (RequestHeader c : RequestHeader.values()) System.out.println(c);
public static RequestHeader 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 nullpublic String header()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.