-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum HttpMethodEnumeration of supported HTTP request methods.
This class is part of the Embrace Public API.
-
-
Method Summary
Modifier and Type Method Description static HttpMethodfromString(String method)Given the string representation of the HTTP request method, returns the corresponding HttpMethod enum. static HttpMethodfromInt(Integer method)Given the int representation of the HTTP request method, returns the corresponding HttpMethod enum. static Array<HttpMethod>values()static HttpMethodvalueOf(String name)-
-
Method Detail
-
fromString
static HttpMethod fromString(String method)
Given the string representation of the HTTP request method, returns the corresponding HttpMethod enum.
-
fromInt
static HttpMethod fromInt(Integer method)
Given the int representation of the HTTP request method, returns the corresponding HttpMethod enum.
-
values
static Array<HttpMethod> values()
-
valueOf
static HttpMethod valueOf(String name)
-
-
-
-