|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<RenderPageRequestHandler.RedirectPolicy> org.apache.wicket.request.handler.RenderPageRequestHandler.RedirectPolicy
public static enum RenderPageRequestHandler.RedirectPolicy
Determines whether Wicket does a redirect when rendering a page
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RenderPageRequestHandler.RedirectPolicy ALWAYS_REDIRECT
public static final RenderPageRequestHandler.RedirectPolicy NEVER_REDIRECT
public static final RenderPageRequestHandler.RedirectPolicy AUTO_REDIRECT
Method Detail |
---|
public static final 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 name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |