private static enum HierarchicalUriComponents.EncodeState extends java.lang.Enum<HierarchicalUriComponents.EncodeState>
Enum Constant and Description |
---|
FULLY_ENCODED
URI vars expanded first and then each URI component encoded by
quoting only illegal characters within that URI component.
|
RAW
Not encoded.
|
TEMPLATE_ENCODED
URI template encoded first by quoting illegal characters only, and
then URI vars encoded more strictly when expanded, by quoting both
illegal chars and chars with reserved meaning.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEncoded() |
static HierarchicalUriComponents.EncodeState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HierarchicalUriComponents.EncodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HierarchicalUriComponents.EncodeState RAW
public static final HierarchicalUriComponents.EncodeState FULLY_ENCODED
public static final HierarchicalUriComponents.EncodeState TEMPLATE_ENCODED
public static HierarchicalUriComponents.EncodeState[] values()
for (HierarchicalUriComponents.EncodeState c : HierarchicalUriComponents.EncodeState.values()) System.out.println(c);
public static HierarchicalUriComponents.EncodeState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isEncoded()