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