Package org.atmosphere.util.uri
Enum Class UriComponent.Type
- All Implemented Interfaces:
Serializable,Comparable<UriComponent.Type>,Constable
- Enclosing class:
UriComponent
The URI component type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe URI authority component type.The URI fragment component type.The URI host component type.The URI path component type that is a matrix parameter.The URI path component type.The URI path component type that is a path segment.The URI port component type.The URI query component type.The URI query component type that is a query parameter.The URI scheme component type.ALPHA / DIGIT / "-" / "." / "_" / "~" charactersThe URI user info component type. -
Method Summary
Modifier and TypeMethodDescriptionstatic UriComponent.TypeReturns the enum constant of this class with the specified name.static UriComponent.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNRESERVED
ALPHA / DIGIT / "-" / "." / "_" / "~" characters -
SCHEME
The URI scheme component type. -
AUTHORITY
The URI authority component type. -
USER_INFO
The URI user info component type. -
HOST
The URI host component type. -
PORT
The URI port component type. -
PATH
The URI path component type. -
PATH_SEGMENT
The URI path component type that is a path segment. -
MATRIX_PARAM
The URI path component type that is a matrix parameter. -
QUERY
The URI query component type. -
QUERY_PARAM
The URI query component type that is a query parameter. -
FRAGMENT
The URI fragment component type.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-