- All Implemented Interfaces:
Serializable
,Comparable<UriEncoding.Type>
,Constable
- Enclosing class:
UriEncoding
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 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, encoded using application/x-www-form-urlencoded rules.The URI query component type that is a query parameter, encoded using application/x-www-form-urlencoded rules (space character is encoded as+
).The URI query component type that is a query parameter, encoded using application/x-www-form-urlencoded (space character is encoded as%20
).The URI scheme component type.ALPHA / DIGIT / "-" / "." / "_" / "~" characters.The URI user info component type. -
Method Summary
Modifier and TypeMethodDescriptionstatic UriEncoding.Type
Returns the enum constant of this class with the specified name.static UriEncoding.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, encoded using application/x-www-form-urlencoded rules. -
QUERY_PARAM
The URI query component type that is a query parameter, encoded using application/x-www-form-urlencoded rules (space character is encoded as+
). -
QUERY_PARAM_SPACE_ENCODED
The URI query component type that is a query parameter, encoded using application/x-www-form-urlencoded (space character is encoded as%20
). -
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
-