public static enum UriEncoder.Encoding extends Enum<UriEncoder.Encoding>
Enum Constant and Description |
---|
ABSOLUTE_PATH
Encoding for exclusive use with the URI path component
where the path starts with the separator character
'/' . |
ANY
Encoding which can be safely used for any URI component, except the
URI scheme component which does not allow escape sequences.
|
AUTHORITY
Encoding for exclusive use with the URI authority component.
|
FRAGMENT
Encoding for exclusive use with the URI fragment component.
|
PATH
Encoding for exclusive use with the URI path component
where the path may contain arbitrary characters.
|
QUERY
Encoding for exclusive use with the URI query component.
|
Modifier and Type | Method and Description |
---|---|
static UriEncoder.Encoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UriEncoder.Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UriEncoder.Encoding ABSOLUTE_PATH
'/'
.PATH
public static final UriEncoder.Encoding ANY
public static final UriEncoder.Encoding AUTHORITY
public static final UriEncoder.Encoding FRAGMENT
public static final UriEncoder.Encoding PATH
ABSOLUTE_PATH
public static final UriEncoder.Encoding QUERY
public static UriEncoder.Encoding valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static UriEncoder.Encoding[] values()
for (UriEncoder.Encoding c : UriEncoder.Encoding.values()) System.out.println(c);
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.