@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-05-10T21:38:35.104Z") @Stability(value=Stable) public enum HttpMethods extends Enum<HttpMethods>
| Enum Constant and Description |
|---|
DELETE
Delete the resource at the specified endpoint.
|
GET
Retrieve data from a server at the specified resource.
|
HEAD
Retrieve data from a server at the specified resource without the response body.
|
PATCH
Apply partial modifications to the resource.
|
POST
Send data to the API endpoint to create or update a resource.
|
PUT
Send data to the API endpoint to update or create a resource.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpMethods |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final HttpMethods GET
@Stability(value=Stable) public static final HttpMethods POST
@Stability(value=Stable) public static final HttpMethods PUT
@Stability(value=Stable) public static final HttpMethods DELETE
@Stability(value=Stable) public static final HttpMethods PATCH
@Stability(value=Stable) public static final HttpMethods HEAD
public static HttpMethods[] values()
for (HttpMethods c : HttpMethods.values()) System.out.println(c);
public static HttpMethods 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.