Package com.google.cloud.logging
Class HttpRequest.RequestMethod
- java.lang.Object
-
- com.google.cloud.StringEnumValue
-
- com.google.cloud.logging.HttpRequest.RequestMethod
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- HttpRequest
public static final class HttpRequest.RequestMethod extends com.google.cloud.StringEnumValueThe HTTP request method.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static HttpRequest.RequestMethodGETstatic HttpRequest.RequestMethodHEADstatic HttpRequest.RequestMethodPOSTstatic HttpRequest.RequestMethodPUT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpRequest.RequestMethodvalueOf(String constant)Get the RequestMethod for the given String constant, and allow unrecognized values.static HttpRequest.RequestMethodvalueOfStrict(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.
-
-
-
Field Detail
-
GET
public static final HttpRequest.RequestMethod GET
-
HEAD
public static final HttpRequest.RequestMethod HEAD
-
PUT
public static final HttpRequest.RequestMethod PUT
-
POST
public static final HttpRequest.RequestMethod POST
-
-
Method Detail
-
valueOfStrict
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.
-
valueOf
public static HttpRequest.RequestMethod valueOf(String constant)
Get the RequestMethod for the given String constant, and allow unrecognized values.
-
values
public static HttpRequest.RequestMethod[] values()
Return the known values for RequestMethod.
-
-