public enum HttpRequestType extends Enum<HttpRequestType>
Modifier and Type | Method and Description |
---|---|
static HttpRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpRequestType HTTP
public static final HttpRequestType REST
public static HttpRequestType[] values()
for (HttpRequestType c : HttpRequestType.values()) System.out.println(c);
public static HttpRequestType 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 © 2002-2022 Atlassian. All Rights Reserved.