public enum Redirect extends Enum<Redirect>
| Modifier and Type | Method and Description |
|---|---|
int |
getStatus() |
static Redirect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Redirect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Redirect PERMANENT
public static final Redirect TEMPORARY
public static final Redirect CHAIN
public static Redirect[] values()
for (Redirect c : Redirect.values()) System.out.println(c);
public static Redirect 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 nullpublic int getStatus()
Copyright © 2014 OCPsoft. All Rights Reserved.