HttpMethod Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. hybridnetwork. models. HttpMethod
- com.
- com.
public final class HttpMethod
extends ExpandableStringEnum<HttpMethod>
The http method of the request.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Http |
DELETE
Static value Delete for Http |
|
static final
Http |
GET
Static value Get for Http |
|
static final
Http |
PATCH
Static value Patch for Http |
|
static final
Http |
POST
Static value Post for Http |
|
static final
Http |
PUT
Static value Put for Http |
|
static final
Http |
UNKNOWN
Static value Unknown for Http |
Constructor Summary
| Constructor | Description |
|---|---|
| HttpMethod() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Http |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Http |
fromString(String name)
Creates or finds a Http |
|
static
Collection<Http |
values()
Gets known Http |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DELETE
public static final HttpMethod DELETE
Static value Delete for HttpMethod.
GET
public static final HttpMethod GET
Static value Get for HttpMethod.
PATCH
public static final HttpMethod PATCH
Static value Patch for HttpMethod.
POST
public static final HttpMethod POST
Static value Post for HttpMethod.
PUT
public static final HttpMethod PUT
Static value Put for HttpMethod.
UNKNOWN
public static final HttpMethod UNKNOWN
Static value Unknown for HttpMethod.
Constructor Details
HttpMethod
@Deprecated
public HttpMethod()
Deprecated
Creates a new instance of HttpMethod value.
Method Details
fromString
public static HttpMethod fromString(String name)
Creates or finds a HttpMethod from its string representation.
Parameters:
Returns:
values
public static Collection<HttpMethod> values()
Gets known HttpMethod values.
Returns: