public enum UriRelativity extends Enum<UriRelativity>
Enum Constant and Description |
---|
PATH_INFO
Relative URIs should be considered relative to the request URI.
|
RESOURCE
Relative URIs should be considered relative to the servlet URI.
|
Modifier and Type | Method and Description |
---|---|
static UriRelativity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UriRelativity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UriRelativity RESOURCE
public static final UriRelativity PATH_INFO
public static UriRelativity[] values()
for (UriRelativity c : UriRelativity.values()) System.out.println(c);
public static UriRelativity 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 © 2016–2019 The Apache Software Foundation. All rights reserved.