public static enum UrlEncoder.Type extends Enum<UrlEncoder.Type>
Enum Constant and Description |
---|
FULL_PATH
Deprecated.
|
HEADER
header type
|
PATH
path type
|
QUERY
query type
|
Modifier and Type | Method and Description |
---|---|
static UrlEncoder.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UrlEncoder.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UrlEncoder.Type QUERY
public static final UrlEncoder.Type PATH
@Deprecated public static final UrlEncoder.Type FULL_PATH
public static final UrlEncoder.Type HEADER
public static UrlEncoder.Type[] values()
for (UrlEncoder.Type c : UrlEncoder.Type.values()) System.out.println(c);
public static UrlEncoder.Type 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 nullCopyright © 2006–2021 Apache Software Foundation. All rights reserved.