public enum RelativeUrlsUsed extends Enum<RelativeUrlsUsed>
Enum Constant and Description |
---|
ALL_REQUESTS
Always use relative URI and resolve them later based on browser HTTP request
|
BROWSER_ONLY
Use relative Uris just for browser requests and resolve those based on browser HTTP requests.
|
NEVER
Relative Uri not used.
|
Modifier and Type | Method and Description |
---|---|
boolean |
useRelative(boolean isBrowserReq) |
static RelativeUrlsUsed |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelativeUrlsUsed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelativeUrlsUsed ALL_REQUESTS
public static final RelativeUrlsUsed BROWSER_ONLY
public static final RelativeUrlsUsed NEVER
public static RelativeUrlsUsed[] values()
for (RelativeUrlsUsed c : RelativeUrlsUsed.values()) System.out.println(c);
public static RelativeUrlsUsed 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 boolean useRelative(boolean isBrowserReq)
Copyright © 2015. All Rights Reserved.