public static enum CacheAwareAbsolutePortalURLBuilder.CachePolicy extends java.lang.Enum<CacheAwareAbsolutePortalURLBuilder.CachePolicy>
Enum Constant and Description |
---|
FOREVER
Returns a version of this URL builder that returns the same URL each
time it is built so that it can be cached by the browser forever (if
the Cache-Control headers allow it).
|
NEVER
Returns a version of this URL builder that changes the URL each time
it is built so that it can never be cached by the browser.
|
UNTIL_CHANGED
Returns a version of this URL builder that changes the URL each time
the resource changes.
|
Modifier and Type | Method and Description |
---|---|
static CacheAwareAbsolutePortalURLBuilder.CachePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheAwareAbsolutePortalURLBuilder.CachePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheAwareAbsolutePortalURLBuilder.CachePolicy FOREVER
public static final CacheAwareAbsolutePortalURLBuilder.CachePolicy NEVER
public static final CacheAwareAbsolutePortalURLBuilder.CachePolicy UNTIL_CHANGED
public static CacheAwareAbsolutePortalURLBuilder.CachePolicy[] values()
for (CacheAwareAbsolutePortalURLBuilder.CachePolicy c : CacheAwareAbsolutePortalURLBuilder.CachePolicy.values()) System.out.println(c);
public static CacheAwareAbsolutePortalURLBuilder.CachePolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null