@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:43.314Z") @Stability(value=Experimental) public enum HttpMethod extends Enum<HttpMethod>
| Enum Constant and Description |
|---|
DELETE
(experimental) Delete the resource at the specified endpoint.
|
GET
(experimental) Retreive data from a server at the specified resource.
|
HEAD
(experimental) Retreive data from a server at the specified resource without the response body.
|
OPTIONS
(experimental) Return data describing what other methods and operations the server supports.
|
PATCH
(experimental) Apply partial modifications to the resource.
|
POST
(experimental) Send data to the API endpoint to create or udpate a resource.
|
PUT
(experimental) Send data to the API endpoint to update or create a resource.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final HttpMethod GET
@Stability(value=Experimental) public static final HttpMethod POST
@Stability(value=Experimental) public static final HttpMethod PUT
@Stability(value=Experimental) public static final HttpMethod DELETE
@Stability(value=Experimental) public static final HttpMethod PATCH
@Stability(value=Experimental) public static final HttpMethod HEAD
@Stability(value=Experimental) public static final HttpMethod OPTIONS
public static HttpMethod[] values()
for (HttpMethod c : HttpMethod.values()) System.out.println(c);
public static HttpMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.