Package play.mvc
Class Http.StatusCode
java.lang.Object
play.mvc.Http.StatusCode
- Enclosing class:
- Http
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
OK
public static final int OK- See Also:
-
CREATED
public static final int CREATED- See Also:
-
ACCEPTED
public static final int ACCEPTED- See Also:
-
PARTIAL_INFO
public static final int PARTIAL_INFO- See Also:
-
NO_RESPONSE
public static final int NO_RESPONSE- See Also:
-
MOVED
public static final int MOVED- See Also:
-
FOUND
public static final int FOUND- See Also:
-
METHOD
public static final int METHOD- See Also:
-
NOT_MODIFIED
public static final int NOT_MODIFIED- See Also:
-
BAD_REQUEST
public static final int BAD_REQUEST- See Also:
-
UNAUTHORIZED
public static final int UNAUTHORIZED- See Also:
-
PAYMENT_REQUIRED
public static final int PAYMENT_REQUIRED- See Also:
-
FORBIDDEN
public static final int FORBIDDEN- See Also:
-
NOT_FOUND
public static final int NOT_FOUND- See Also:
-
INTERNAL_ERROR
public static final int INTERNAL_ERROR- See Also:
-
NOT_IMPLEMENTED
public static final int NOT_IMPLEMENTED- See Also:
-
OVERLOADED
public static final int OVERLOADED- See Also:
-
GATEWAY_TIMEOUT
public static final int GATEWAY_TIMEOUT- See Also:
-
-
Constructor Details
-
StatusCode
public StatusCode()
-
-
Method Details
-
success
public static boolean success(int code) -
redirect
public static boolean redirect(int code) -
error
public static boolean error(int code)
-