public enum PathAction extends Enum<PathAction>
Enum Constant and Description |
---|
PROCEED
No special action is taken.
|
REDIRECT_TO_SCANNED_EXTENSIONLESS
Redirects to the resource corresponding with the one that was scanned.
|
SEND_404
Send a 404 (not found), makes it look like e.g.
|
Modifier and Type | Method and Description |
---|---|
static PathAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathAction SEND_404
public static final PathAction REDIRECT_TO_SCANNED_EXTENSIONLESS
public static final PathAction PROCEED
public static PathAction[] values()
for (PathAction c : PathAction.values()) System.out.println(c);
public static PathAction 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 © 2012–2016 OmniFaces. All rights reserved.