public final class HttpMethod extends StringEnumValue
| Modifier and Type | Field and Description |
|---|---|
static HttpMethod |
DELETE |
static HttpMethod |
GET |
static HttpMethod |
HEAD |
static HttpMethod |
OPTIONS |
static HttpMethod |
POST |
static HttpMethod |
PUT |
| Modifier and Type | Method and Description |
|---|---|
static HttpMethod |
valueOf(String constant)
Get the HttpMethod for the given String constant, and allow unrecognized values.
|
static HttpMethod |
valueOfStrict(String constant)
Get the HttpMethod for the given String constant, and throw an exception if the constant is
not recognized.
|
static HttpMethod[] |
values()
Return the known values for HttpMethod.
|
equals, hashCode, name, toStringpublic static final HttpMethod GET
public static final HttpMethod HEAD
public static final HttpMethod PUT
public static final HttpMethod POST
public static final HttpMethod DELETE
public static final HttpMethod OPTIONS
public static HttpMethod valueOfStrict(String constant)
public static HttpMethod valueOf(String constant)
public static HttpMethod[] values()
Copyright © 2018 Google. All rights reserved.