play.mvc
类 Http.StatusCode

java.lang.Object
  继承者 play.mvc.Http.StatusCode
包容类:
Http

public static class Http.StatusCode
extends java.lang.Object


字段摘要
static int ACCEPTED
           
static int BAD_REQUEST
           
static int CREATED
           
static int FORBIDDEN
           
static int FOUND
           
static int GATEWAY_TIMEOUT
           
static int INTERNAL_ERROR
           
static int METHOD
           
static int MOVED
           
static int NO_RESPONSE
           
static int NOT_FOUND
           
static int NOT_IMPLEMENTED
           
static int NOT_MODIFIED
           
static int OK
           
static int OVERLOADED
           
static int PARTIAL_INFO
           
static int PAYMENT_REQUIRED
           
static int UNAUTHORIZED
           
 
构造方法摘要
Http.StatusCode()
           
 
方法摘要
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