public static enum RenderPageRequestHandler.RedirectPolicy extends Enum<RenderPageRequestHandler.RedirectPolicy>
Enum Constant and Description |
---|
ALWAYS_REDIRECT
Always redirect if current request URL is different than page URL.
|
AUTO_REDIRECT
Redirect if necessary.
|
NEVER_REDIRECT
Never redirect - always render the page to current response.
|
Modifier and Type | Method and Description |
---|---|
static RenderPageRequestHandler.RedirectPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RenderPageRequestHandler.RedirectPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderPageRequestHandler.RedirectPolicy ALWAYS_REDIRECT
public static final RenderPageRequestHandler.RedirectPolicy NEVER_REDIRECT
public static final RenderPageRequestHandler.RedirectPolicy AUTO_REDIRECT
public static RenderPageRequestHandler.RedirectPolicy[] values()
for (RenderPageRequestHandler.RedirectPolicy c : RenderPageRequestHandler.RedirectPolicy.values()) System.out.println(c);
public static RenderPageRequestHandler.RedirectPolicy 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–2018 Apache Software Foundation. All rights reserved.