Class HttpRequest.RequestMethod (3.6.4)

public static final class HttpRequest.RequestMethod extends StringEnumValue

The HTTP request method.

Inheritance

java.lang.Object > com.google.cloud.StringEnumValue > HttpRequest.RequestMethod

Static Fields

GET

public static final HttpRequest.RequestMethod GET
Field Value
TypeDescription
HttpRequest.RequestMethod

HEAD

public static final HttpRequest.RequestMethod HEAD
Field Value
TypeDescription
HttpRequest.RequestMethod

POST

public static final HttpRequest.RequestMethod POST
Field Value
TypeDescription
HttpRequest.RequestMethod

PUT

public static final HttpRequest.RequestMethod PUT
Field Value
TypeDescription
HttpRequest.RequestMethod

Static Methods

valueOf(String constant)

public static HttpRequest.RequestMethod valueOf(String constant)

Get the RequestMethod for the given String constant, and allow unrecognized values.

Parameter
NameDescription
constantString
Returns
TypeDescription
HttpRequest.RequestMethod

valueOfStrict(String constant)

public static HttpRequest.RequestMethod valueOfStrict(String constant)

Get the RequestMethod for the given String constant, and throw an exception if the constant is not recognized.

Parameter
NameDescription
constantString
Returns
TypeDescription
HttpRequest.RequestMethod

values()

public static HttpRequest.RequestMethod[] values()

Return the known values for RequestMethod.

Returns
TypeDescription
RequestMethod[]