public static enum RewriteInterceptor.Type extends Enum<RewriteInterceptor.Type>
Enum Constant and Description |
---|
REDIRECT_PERMANENT |
REDIRECT_TEMPORARY |
REWRITE |
Modifier and Type | Method and Description |
---|---|
static RewriteInterceptor.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RewriteInterceptor.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RewriteInterceptor.Type REWRITE
public static final RewriteInterceptor.Type REDIRECT_TEMPORARY
public static final RewriteInterceptor.Type REDIRECT_PERMANENT
public static RewriteInterceptor.Type[] values()
for (RewriteInterceptor.Type c : RewriteInterceptor.Type.values()) System.out.println(c);
public static RewriteInterceptor.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 © 2012. All Rights Reserved.