public class HttpMethod extends ExpandableStringEnum<HttpMethod>
| Modifier and Type | Field and Description |
|---|---|
static HttpMethod |
DELETE
The HTTP DELETE method.
|
static HttpMethod |
GET
The HTTP GET method.
|
static HttpMethod |
HEAD
The HTTP HEAD method.
|
static HttpMethod |
PATCH
The HTTP PATCH method.
|
static HttpMethod |
POST
The HTTP POST method.
|
static HttpMethod |
PUT
The HTTP PUT method.
|
| Constructor and Description |
|---|
HttpMethod() |
| Modifier and Type | Method and Description |
|---|---|
static HttpMethod |
fromString(String name)
Creates or finds a HttpMethod from its string representation.
|
static Collection<HttpMethod> |
values() |
equals, fromString, hashCode, toString, values, withNameValuepublic static final HttpMethod GET
public static final HttpMethod PUT
public static final HttpMethod POST
public static final HttpMethod PATCH
public static final HttpMethod DELETE
public static final HttpMethod HEAD
public static HttpMethod fromString(String name)
name - a name to look for.public static Collection<HttpMethod> values()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/