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
com.google.cloud.StringEnumValue.equals(java.lang.Object)
com.google.cloud.StringEnumValue.hashCode()
com.google.cloud.StringEnumValue.name()
com.google.cloud.StringEnumValue.toString()

Static Fields

GET

public static final HttpRequest.RequestMethod GET
Field Value

HEAD

public static final HttpRequest.RequestMethod HEAD
Field Value

POST

public static final HttpRequest.RequestMethod POST
Field Value

PUT

public static final HttpRequest.RequestMethod PUT
Field Value

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

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

values()

public static HttpRequest.RequestMethod[] values()

Return the known values for RequestMethod.

Returns
TypeDescription
RequestMethod[]