public static enum Redirect.Status extends Enum<Redirect.Status>
| Enum Constant and Description |
|---|
FOUND |
MOVED_PERMANENTLY |
MULTIPLE_CHOICES |
NOT_MODIFIED |
PERMANENT_REDIRECT |
SEE_OTHER |
SWITCH_PROXY |
TEMPORARY_REDIRECT |
USE_PROXY |
| Modifier and Type | Method and Description |
|---|---|
int |
intValue() |
static Redirect.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Redirect.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Redirect.Status MULTIPLE_CHOICES
public static final Redirect.Status MOVED_PERMANENTLY
public static final Redirect.Status FOUND
public static final Redirect.Status SEE_OTHER
public static final Redirect.Status NOT_MODIFIED
public static final Redirect.Status USE_PROXY
public static final Redirect.Status SWITCH_PROXY
public static final Redirect.Status TEMPORARY_REDIRECT
public static final Redirect.Status PERMANENT_REDIRECT
public static Redirect.Status[] values()
for (Redirect.Status c : Redirect.Status.values()) System.out.println(c);
public static Redirect.Status 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 intValue()
Copyright © 2016. All rights reserved.