Package com.google.cloud.storage
Class HttpMethod
java.lang.Object
com.google.cloud.StringEnumValue
com.google.cloud.storage.HttpMethod
- All Implemented Interfaces:
Serializable
public final class HttpMethod
extends com.google.cloud.StringEnumValue
Http method supported by Storage service.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HttpMethodstatic final HttpMethodstatic final HttpMethodstatic final HttpMethodstatic final HttpMethodstatic final HttpMethod -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpMethodGet the HttpMethod for the given String constant, and allow unrecognized values.static HttpMethodvalueOfStrict(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.Methods inherited from class com.google.cloud.StringEnumValue
equals, hashCode, name, toString
-
Field Details
-
GET
-
HEAD
-
PUT
-
POST
-
DELETE
-
OPTIONS
-
-
Method Details
-
valueOfStrict
Get the HttpMethod for the given String constant, and throw an exception if the constant is not recognized. -
valueOf
Get the HttpMethod for the given String constant, and allow unrecognized values. -
values
Return the known values for HttpMethod.
-