public enum ExpressionType extends Enum<ExpressionType>
In order to understand the different setters, please refer to appendix A of RFC 6570.
| Enum Constant and Description |
|---|
FRAGMENT |
NAME_LABELS |
PATH_PARAMETERS |
PATH_SEGMENTS |
QUERY_CONT |
QUERY_STRING |
RESERVED |
SIMPLE |
| Modifier and Type | Method and Description |
|---|---|
String |
getIfEmpty()
Get the substitution string for empty values
|
String |
getPrefix()
Get the prefix string for this expansion type
|
char |
getSeparator()
Get the separator between token expansion elements
|
boolean |
isNamed()
Tell whether the variable name should be used in expansion
|
boolean |
isRawExpand()
Tell whether the character set to be used for expansion includes the
reserved characters
|
static ExpressionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpressionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpressionType SIMPLE
public static final ExpressionType RESERVED
public static final ExpressionType NAME_LABELS
public static final ExpressionType PATH_SEGMENTS
public static final ExpressionType PATH_PARAMETERS
public static final ExpressionType QUERY_STRING
public static final ExpressionType QUERY_CONT
public static final ExpressionType FRAGMENT
public static ExpressionType[] values()
for (ExpressionType c : ExpressionType.values()) System.out.println(c);
public static ExpressionType 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 String getPrefix()
public boolean isNamed()
public String getIfEmpty()
public boolean isRawExpand()
public char getSeparator()