public static enum HTTPNetServiceComponent.HttpMethod extends Enum<HTTPNetServiceComponent.HttpMethod>
| Modifier and Type | Method and Description |
|---|---|
static HTTPNetServiceComponent.HttpMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTTPNetServiceComponent.HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPNetServiceComponent.HttpMethod GET
public static final HTTPNetServiceComponent.HttpMethod HEAD
public static HTTPNetServiceComponent.HttpMethod[] values()
for (HTTPNetServiceComponent.HttpMethod c : HTTPNetServiceComponent.HttpMethod.values()) System.out.println(c);
public static HTTPNetServiceComponent.HttpMethod 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 © 2008-2013 Red Hat, Inc.. All Rights Reserved.