public enum HttpInvokerLabel extends Enum<HttpInvokerLabel> implements Label
Label.Util
Enum Constant and Description |
---|
HEADER
httpinvoker labels.
|
Modifier and Type | Method and Description |
---|---|
String |
label()
Gets the full-form label String.
|
static void |
main(String... args)
Prints all known httpinvoker labels.
|
static HttpInvokerLabel |
ofName(String name)
Gets the HttpInvokerLabel enum via case-insensitive short-name.
|
static String |
toLabel(String name)
Gets the full-form httpinvoker label from the case-insensitive short-name.
|
static HttpInvokerLabel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpInvokerLabel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpInvokerLabel HEADER
public static HttpInvokerLabel[] values()
for (HttpInvokerLabel c : HttpInvokerLabel.values()) System.out.println(c);
public static HttpInvokerLabel 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 label()
public static final HttpInvokerLabel ofName(String name)
name
- the case-insensitive short-namepublic static final String toLabel(String name)
name
- the case-insensitive short-namepublic static void main(String... args)
args
- ignoredCopyright © 2013–2016 JBoss by Red Hat. All rights reserved.