Enum HttpResponseStatisticsCollector.HttpMethod
- java.lang.Object
-
- java.lang.Enum<HttpResponseStatisticsCollector.HttpMethod>
-
- com.yahoo.jdisc.http.server.jetty.HttpResponseStatisticsCollector.HttpMethod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HttpResponseStatisticsCollector.HttpMethod>
- Enclosing class:
- HttpResponseStatisticsCollector
public static enum HttpResponseStatisticsCollector.HttpMethod extends java.lang.Enum<HttpResponseStatisticsCollector.HttpMethod>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpResponseStatisticsCollector.HttpMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HttpResponseStatisticsCollector.HttpMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET
public static final HttpResponseStatisticsCollector.HttpMethod GET
-
PATCH
public static final HttpResponseStatisticsCollector.HttpMethod PATCH
-
POST
public static final HttpResponseStatisticsCollector.HttpMethod POST
-
PUT
public static final HttpResponseStatisticsCollector.HttpMethod PUT
-
DELETE
public static final HttpResponseStatisticsCollector.HttpMethod DELETE
-
OPTIONS
public static final HttpResponseStatisticsCollector.HttpMethod OPTIONS
-
HEAD
public static final HttpResponseStatisticsCollector.HttpMethod HEAD
-
OTHER
public static final HttpResponseStatisticsCollector.HttpMethod OTHER
-
-
Method Detail
-
values
public static HttpResponseStatisticsCollector.HttpMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HttpResponseStatisticsCollector.HttpMethod c : HttpResponseStatisticsCollector.HttpMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpResponseStatisticsCollector.HttpMethod valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-