|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Context.HTTP_STATUS>
ninja.Context.HTTP_STATUS
@Deprecated public static enum Context.HTTP_STATUS
please use Result.SC_*
Enum Constant Summary | |
---|---|
badRequest400
Deprecated. |
|
created201
Deprecated. |
|
forbidden403
Deprecated. |
|
noContent204
Deprecated. |
|
notFound404
Deprecated. |
|
ok200
Deprecated. |
|
teapot418
Deprecated. |
Field Summary | |
---|---|
int |
code
Deprecated. |
Method Summary | |
---|---|
static Context.HTTP_STATUS |
valueOf(String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static Context.HTTP_STATUS[] |
values()
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Context.HTTP_STATUS notFound404
public static final Context.HTTP_STATUS ok200
public static final Context.HTTP_STATUS forbidden403
public static final Context.HTTP_STATUS teapot418
public static final Context.HTTP_STATUS badRequest400
public static final Context.HTTP_STATUS noContent204
public static final Context.HTTP_STATUS created201
Field Detail |
---|
public final int code
Method Detail |
---|
public static Context.HTTP_STATUS[] values()
for (Context.HTTP_STATUS c : Context.HTTP_STATUS.values()) System.out.println(c);
public static Context.HTTP_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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |