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.StringEnumValue
The HTTP request method.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HttpRequest.RequestMethod
static final HttpRequest.RequestMethod
static final HttpRequest.RequestMethod
static final HttpRequest.RequestMethod
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpRequest.RequestMethod
Get the RequestMethod for the given String constant, and allow unrecognized values.static HttpRequest.RequestMethod
valueOfStrict
(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.Methods inherited from class com.google.cloud.StringEnumValue
equals, hashCode, name, toString
-
Field Details
-
GET
-
HEAD
-
PUT
-
POST
-
-
Method Details
-
valueOfStrict
Get the RequestMethod for the given String constant, and throw an exception if the constant is not recognized. -
valueOf
Get the RequestMethod for the given String constant, and allow unrecognized values. -
values
Return the known values for RequestMethod.
-