Class HttpMethod
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<HttpMethod>
-
- com.azure.resourcemanager.network.models.HttpMethod
-
public final class HttpMethod extends com.azure.core.util.ExpandableStringEnum<HttpMethod>
Defines values for HttpMethod.
-
-
Field Summary
Fields Modifier and Type Field Description static HttpMethodGETStatic value Get for HttpMethod.
-
Constructor Summary
Constructors Constructor Description HttpMethod()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpMethodfromString(String name)Creates or finds a HttpMethod from its string representation.static Collection<HttpMethod>values()
-
-
-
Field Detail
-
GET
public static final HttpMethod GET
Static value Get for HttpMethod.
-
-
Method Detail
-
fromString
public static HttpMethod fromString(String name)
Creates or finds a HttpMethod from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding HttpMethod.
-
values
public static Collection<HttpMethod> values()
- Returns:
- known HttpMethod values.
-
-