Class HttpMethod (2.9.2)

public final class HttpMethod extends StringEnumValue

Http method supported by Storage service.

Inheritance

java.lang.Object > com.google.cloud.StringEnumValue > HttpMethod

Static Fields

DELETE

public static final HttpMethod DELETE
Field Value
TypeDescription
HttpMethod

GET

public static final HttpMethod GET
Field Value
TypeDescription
HttpMethod

HEAD

public static final HttpMethod HEAD
Field Value
TypeDescription
HttpMethod

OPTIONS

public static final HttpMethod OPTIONS
Field Value
TypeDescription
HttpMethod

POST

public static final HttpMethod POST
Field Value
TypeDescription
HttpMethod

PUT

public static final HttpMethod PUT
Field Value
TypeDescription
HttpMethod

Static Methods

valueOf(String constant)

public static HttpMethod valueOf(String constant)

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

Parameter
NameDescription
constantString
Returns
TypeDescription
HttpMethod

valueOfStrict(String constant)

public static HttpMethod valueOfStrict(String constant)

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

Parameter
NameDescription
constantString
Returns
TypeDescription
HttpMethod

values()

public static HttpMethod[] values()

Return the known values for HttpMethod.

Returns
TypeDescription
HttpMethod[]