public static enum Redirect.F extends Enum<Redirect.F>
| Modifier and Type | Field and Description |
|---|---|
static org.osgl.Lang.Function<String,Found> |
FOUND |
static org.osgl.Lang.Function<String,MovedPermanently> |
MOVED_PERMANENTLY |
static org.osgl.Lang.Function<String,PermanentRedirect> |
PERMANENT_REDIRECT |
static org.osgl.Lang.Function<String,Redirect> |
REDIRECT |
static org.osgl.Lang.Function<String,SeeOther> |
SEE_OTHER |
static org.osgl.Lang.Function<String,TemporaryRedirect> |
TEMPORARY_REDIRECT |
| Modifier and Type | Method and Description |
|---|---|
static Redirect.F |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Redirect.F[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static org.osgl.Lang.Function<String,MovedPermanently> MOVED_PERMANENTLY
public static org.osgl.Lang.Function<String,TemporaryRedirect> TEMPORARY_REDIRECT
public static org.osgl.Lang.Function<String,PermanentRedirect> PERMANENT_REDIRECT
public static Redirect.F[] values()
for (Redirect.F c : Redirect.F.values()) System.out.println(c);
public static Redirect.F 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 © 2014–2018 OSGL (Open Source General Library). All rights reserved.