|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object org.jboss.netty.handler.codec.http.HttpResponseStatus
public class HttpResponseStatus
响应代码和它的HTTP描述或派生协议,如 RTSP和 ICAP.
构造方法摘要 | |
---|---|
HttpResponseStatus(int code,
java.lang.String reasonPhrase)
Creates a new instance with the specified code and its
reasonPhrase . |
方法摘要 | |
---|---|
int |
compareTo(HttpResponseStatus o)
|
boolean |
equals(java.lang.Object o)
|
int |
getCode()
Returns the code of this status. |
java.lang.String |
getReasonPhrase()
Returns the reason phrase of this status. |
int |
hashCode()
|
java.lang.String |
toString()
|
static HttpResponseStatus |
valueOf(int code)
返回指定代码对应的 HttpResponseStatus .如果指定的代码是一个标准的HTTP状态码,一个缓存的实例会被返回. |
从类 java.lang.Object 继承的方法 |
---|
getClass, notify, notifyAll, wait, wait, wait |
字段详细信息 |
---|
public static final HttpResponseStatus CONTINUE
public static final HttpResponseStatus SWITCHING_PROTOCOLS
public static final HttpResponseStatus PROCESSING
public static final HttpResponseStatus OK
public static final HttpResponseStatus CREATED
public static final HttpResponseStatus ACCEPTED
public static final HttpResponseStatus NON_AUTHORITATIVE_INFORMATION
public static final HttpResponseStatus NO_CONTENT
public static final HttpResponseStatus RESET_CONTENT
public static final HttpResponseStatus PARTIAL_CONTENT
public static final HttpResponseStatus MULTI_STATUS
public static final HttpResponseStatus MULTIPLE_CHOICES
public static final HttpResponseStatus MOVED_PERMANENTLY
public static final HttpResponseStatus FOUND
public static final HttpResponseStatus SEE_OTHER
public static final HttpResponseStatus NOT_MODIFIED
public static final HttpResponseStatus USE_PROXY
public static final HttpResponseStatus TEMPORARY_REDIRECT
public static final HttpResponseStatus BAD_REQUEST
public static final HttpResponseStatus UNAUTHORIZED
public static final HttpResponseStatus PAYMENT_REQUIRED
public static final HttpResponseStatus FORBIDDEN
public static final HttpResponseStatus NOT_FOUND
public static final HttpResponseStatus METHOD_NOT_ALLOWED
public static final HttpResponseStatus NOT_ACCEPTABLE
public static final HttpResponseStatus PROXY_AUTHENTICATION_REQUIRED
public static final HttpResponseStatus REQUEST_TIMEOUT
public static final HttpResponseStatus CONFLICT
public static final HttpResponseStatus GONE
public static final HttpResponseStatus LENGTH_REQUIRED
public static final HttpResponseStatus PRECONDITION_FAILED
public static final HttpResponseStatus REQUEST_ENTITY_TOO_LARGE
public static final HttpResponseStatus REQUEST_URI_TOO_LONG
public static final HttpResponseStatus UNSUPPORTED_MEDIA_TYPE
public static final HttpResponseStatus REQUESTED_RANGE_NOT_SATISFIABLE
public static final HttpResponseStatus EXPECTATION_FAILED
public static final HttpResponseStatus UNPROCESSABLE_ENTITY
public static final HttpResponseStatus LOCKED
public static final HttpResponseStatus FAILED_DEPENDENCY
public static final HttpResponseStatus UNORDERED_COLLECTION
public static final HttpResponseStatus UPGRADE_REQUIRED
public static final HttpResponseStatus INTERNAL_SERVER_ERROR
public static final HttpResponseStatus NOT_IMPLEMENTED
public static final HttpResponseStatus BAD_GATEWAY
public static final HttpResponseStatus SERVICE_UNAVAILABLE
public static final HttpResponseStatus GATEWAY_TIMEOUT
public static final HttpResponseStatus HTTP_VERSION_NOT_SUPPORTED
public static final HttpResponseStatus VARIANT_ALSO_NEGOTIATES
public static final HttpResponseStatus INSUFFICIENT_STORAGE
public static final HttpResponseStatus NOT_EXTENDED
构造方法详细信息 |
---|
public HttpResponseStatus(int code, java.lang.String reasonPhrase)
code
and its
reasonPhrase
.
方法详细信息 |
---|
public static HttpResponseStatus valueOf(int code)
HttpResponseStatus
.如果指定的代码是一个标准的HTTP状态码,一个缓存的实例会被返回.
否则,返回一个新的实例.
public int getCode()
public java.lang.String getReasonPhrase()
public int hashCode()
java.lang.Object
中的 hashCode
public boolean equals(java.lang.Object o)
java.lang.Object
中的 equals
public int compareTo(HttpResponseStatus o)
java.lang.Comparable<HttpResponseStatus>
中的 compareTo
public java.lang.String toString()
java.lang.Object
中的 toString
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |