public enum ERedirectMode extends Enum<ERedirectMode>
UnifiedResponse.| Enum Constant and Description |
|---|
DEFAULT
Use the default httpServletResponse.sendRedirect
|
POST_REDIRECT_GET
Use HTTP 303/302 depending on the HTTP version used
|
| Modifier and Type | Method and Description |
|---|---|
static ERedirectMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ERedirectMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ERedirectMode DEFAULT
public static final ERedirectMode POST_REDIRECT_GET
public static ERedirectMode[] values()
for (ERedirectMode c : ERedirectMode.values()) System.out.println(c);
public static ERedirectMode 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 Philip Helger. All rights reserved.