public static enum ServletPathMatch.Type extends Enum<ServletPathMatch.Type>
Enum Constant and Description |
---|
NORMAL A normal servlet match, the invocation should proceed as normal |
REDIRECT A redirect is required, as the path does not end with a trailing slash |
REWRITE An internal rewrite is required, because the path matched a welcome file. |
Modifier and Type | Method and Description |
---|---|
static ServletPathMatch.Type | valueOf(String name) Returns the enum constant of this type with the specified name. |
static ServletPathMatch.Type[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |
public static final ServletPathMatch.Type NORMAL
public static final ServletPathMatch.Type REDIRECT
public static final ServletPathMatch.Type REWRITE
public static ServletPathMatch.Type[] values()
for (ServletPathMatch.Type c : ServletPathMatch.Type.values()) System.out.println(c);
public static ServletPathMatch.Type 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 © 2017 JBoss by Red Hat. All rights reserved.