@Deprecated public static enum Context.HTTP_STATUS extends Enum<Context.HTTP_STATUS>
Enum Constant and Description |
---|
badRequest400
Deprecated.
|
created201
Deprecated.
|
forbidden403
Deprecated.
|
noContent204
Deprecated.
|
notFound404
Deprecated.
|
ok200
Deprecated.
|
teapot418
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
int |
code
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullCopyright © 2019 ninjaframework. All rights reserved.