play.mvc
类 Http.StatusCode
java.lang.Object
play.mvc.Http.StatusCode
- 包容类:
- Http
public static class Http.StatusCode
- extends java.lang.Object
方法摘要 |
static boolean |
error(int code)
|
static boolean |
redirect(int code)
|
static boolean |
success(int code)
|
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OK
public static final int OK
- 另请参见:
- 常量字段值
CREATED
public static final int CREATED
- 另请参见:
- 常量字段值
ACCEPTED
public static final int ACCEPTED
- 另请参见:
- 常量字段值
PARTIAL_INFO
public static final int PARTIAL_INFO
- 另请参见:
- 常量字段值
NO_RESPONSE
public static final int NO_RESPONSE
- 另请参见:
- 常量字段值
MOVED
public static final int MOVED
- 另请参见:
- 常量字段值
FOUND
public static final int FOUND
- 另请参见:
- 常量字段值
METHOD
public static final int METHOD
- 另请参见:
- 常量字段值
NOT_MODIFIED
public static final int NOT_MODIFIED
- 另请参见:
- 常量字段值
BAD_REQUEST
public static final int BAD_REQUEST
- 另请参见:
- 常量字段值
UNAUTHORIZED
public static final int UNAUTHORIZED
- 另请参见:
- 常量字段值
PAYMENT_REQUIRED
public static final int PAYMENT_REQUIRED
- 另请参见:
- 常量字段值
FORBIDDEN
public static final int FORBIDDEN
- 另请参见:
- 常量字段值
NOT_FOUND
public static final int NOT_FOUND
- 另请参见:
- 常量字段值
INTERNAL_ERROR
public static final int INTERNAL_ERROR
- 另请参见:
- 常量字段值
NOT_IMPLEMENTED
public static final int NOT_IMPLEMENTED
- 另请参见:
- 常量字段值
OVERLOADED
public static final int OVERLOADED
- 另请参见:
- 常量字段值
GATEWAY_TIMEOUT
public static final int GATEWAY_TIMEOUT
- 另请参见:
- 常量字段值
Http.StatusCode
public Http.StatusCode()
success
public static boolean success(int code)
redirect
public static boolean redirect(int code)
error
public static boolean error(int code)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly