public enum HttpMethod extends Enum<HttpMethod>
| Enum Constant and Description |
|---|
ace |
connect |
copy |
delete |
get |
head |
lock |
mkcol |
move |
options |
patch |
post |
propfind |
proppatch |
put |
report |
starstar |
trace |
unlock |
| Modifier and Type | Method and Description |
|---|---|
static HttpMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpMethod starstar
public static final HttpMethod get
public static final HttpMethod put
public static final HttpMethod post
public static final HttpMethod mkcol
public static final HttpMethod copy
public static final HttpMethod delete
public static final HttpMethod propfind
public static final HttpMethod ace
public static final HttpMethod report
public static final HttpMethod lock
public static final HttpMethod unlock
public static final HttpMethod move
public static final HttpMethod proppatch
public static final HttpMethod patch
public static final HttpMethod head
public static final HttpMethod trace
public static final HttpMethod connect
public static final HttpMethod options
public static HttpMethod[] values()
for (HttpMethod c : HttpMethod.values()) System.out.println(c);
public static 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 © 2017 Pivotal Software, Inc.. All rights reserved.