Package org.eclipse.jetty.http
Enum HttpURI.State
- java.lang.Object
-
- java.lang.Enum<HttpURI.State>
-
- org.eclipse.jetty.http.HttpURI.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HttpURI.State>
- Enclosing class:
- HttpURI
private static enum HttpURI.State extends java.lang.Enum<HttpURI.State>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpURI.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HttpURI.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final HttpURI.State START
-
HOST_OR_PATH
public static final HttpURI.State HOST_OR_PATH
-
SCHEME_OR_PATH
public static final HttpURI.State SCHEME_OR_PATH
-
HOST
public static final HttpURI.State HOST
-
IPV6
public static final HttpURI.State IPV6
-
PORT
public static final HttpURI.State PORT
-
PATH
public static final HttpURI.State PATH
-
PARAM
public static final HttpURI.State PARAM
-
QUERY
public static final HttpURI.State QUERY
-
FRAGMENT
public static final HttpURI.State FRAGMENT
-
ASTERISK
public static final HttpURI.State ASTERISK
-
-
Method Detail
-
values
public static HttpURI.State[] 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 (HttpURI.State c : HttpURI.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpURI.State 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
-
-