软件包 | 描述 |
---|---|
io.netty.handler.codec.http |
编码器,解码器及其相关的HTTP消息类型。
|
io.netty.handler.codec.http2 |
用于发送和接收HTTP / 2帧的处理程序。
|
io.netty.handler.codec.rtsp |
基于HTTP编解码器的
RTSP扩展。
|
Modifier and Type | Field and Description |
---|---|
static HttpResponseStatus |
HttpResponseStatus.ACCEPTED
202接受
|
static HttpResponseStatus |
HttpResponseStatus.BAD_GATEWAY
502错误的网关
|
static HttpResponseStatus |
HttpResponseStatus.BAD_REQUEST
400错误请求
|
static HttpResponseStatus |
HttpResponseStatus.CONFLICT
409冲突
|
static HttpResponseStatus |
HttpResponseStatus.CONTINUE
100继续
|
static HttpResponseStatus |
HttpResponseStatus.CREATED
201创建
|
static HttpResponseStatus |
HttpResponseStatus.EXPECTATION_FAILED
417期望失败
|
static HttpResponseStatus |
HttpResponseStatus.FAILED_DEPENDENCY
424失败依赖(WebDAV,RFC4918)
|
static HttpResponseStatus |
HttpResponseStatus.FORBIDDEN
403禁止
|
static HttpResponseStatus |
HttpResponseStatus.FOUND
302找到
|
static HttpResponseStatus |
HttpResponseStatus.GATEWAY_TIMEOUT
504网关超时
|
static HttpResponseStatus |
HttpResponseStatus.GONE
410消失
|
static HttpResponseStatus |
HttpResponseStatus.HTTP_VERSION_NOT_SUPPORTED
不支持505 HTTP版本
|
static HttpResponseStatus |
HttpResponseStatus.INSUFFICIENT_STORAGE
507存储不足(WebDAV,RFC4918)
|
static HttpResponseStatus |
HttpResponseStatus.INTERNAL_SERVER_ERROR
500内部服务器错误
|
static HttpResponseStatus |
HttpResponseStatus.LENGTH_REQUIRED
411长度要求
|
static HttpResponseStatus |
HttpResponseStatus.LOCKED
423锁定(WebDAV,RFC4918)
|
static HttpResponseStatus |
HttpResponseStatus.METHOD_NOT_ALLOWED
405方法不允许
|
static HttpResponseStatus |
HttpResponseStatus.MISDIRECTED_REQUEST
421误导请求
421 Status Code
|
static HttpResponseStatus |
HttpResponseStatus.MOVED_PERMANENTLY
301永久移动
|
static HttpResponseStatus |
HttpResponseStatus.MULTI_STATUS
207多状态(WebDAV,RFC2518)
|
static HttpResponseStatus |
HttpResponseStatus.MULTIPLE_CHOICES
300多种选择
|
static HttpResponseStatus |
HttpResponseStatus.NETWORK_AUTHENTICATION_REQUIRED
需要511网络身份验证(RFC6585)
|
static HttpResponseStatus |
HttpResponseStatus.NO_CONTENT
204无内容
|
static HttpResponseStatus |
HttpResponseStatus.NON_AUTHORITATIVE_INFORMATION
203非权威信息(自HTTP / 1.1以来)
|
static HttpResponseStatus |
HttpResponseStatus.NOT_ACCEPTABLE
406不可接受
|
static HttpResponseStatus |
HttpResponseStatus.NOT_EXTENDED
510不扩展(RFC2774)
|
static HttpResponseStatus |
HttpResponseStatus.NOT_FOUND
404未找到
|
static HttpResponseStatus |
HttpResponseStatus.NOT_IMPLEMENTED
501未实施
|
static HttpResponseStatus |
HttpResponseStatus.NOT_MODIFIED
304未修改
|
static HttpResponseStatus |
HttpResponseStatus.OK
200 OK
|
static HttpResponseStatus |
HttpResponseStatus.PARTIAL_CONTENT
206部分内容
|
static HttpResponseStatus |
HttpResponseStatus.PAYMENT_REQUIRED
402需要付款
|
static HttpResponseStatus |
HttpResponseStatus.PERMANENT_REDIRECT
308永久重定向(RFC7538)
|
static HttpResponseStatus |
HttpResponseStatus.PRECONDITION_FAILED
412先决条件失败
|
static HttpResponseStatus |
HttpResponseStatus.PRECONDITION_REQUIRED
428先决条件要求(RFC6585)
|
static HttpResponseStatus |
HttpResponseStatus.PROCESSING
102处理(WebDAV,RFC2518)
|
static HttpResponseStatus |
HttpResponseStatus.PROXY_AUTHENTICATION_REQUIRED
需要407代理验证
|
static HttpResponseStatus |
HttpResponseStatus.REQUEST_ENTITY_TOO_LARGE
413请求实体太大
|
static HttpResponseStatus |
HttpResponseStatus.REQUEST_HEADER_FIELDS_TOO_LARGE
431请求标头字段太大(RFC6585)
|
static HttpResponseStatus |
HttpResponseStatus.REQUEST_TIMEOUT
408请求超时
|
static HttpResponseStatus |
HttpResponseStatus.REQUEST_URI_TOO_LONG
414请求URI太长
|
static HttpResponseStatus |
HttpResponseStatus.REQUESTED_RANGE_NOT_SATISFIABLE
416请求的范围不满足
|
static HttpResponseStatus |
HttpResponseStatus.RESET_CONTENT
205重置内容
|
static HttpResponseStatus |
HttpResponseStatus.SEE_OTHER
303查看其他(自HTTP / 1.1)
|
static HttpResponseStatus |
HttpResponseStatus.SERVICE_UNAVAILABLE
503服务不可用
|
static HttpResponseStatus |
HttpResponseStatus.SWITCHING_PROTOCOLS
101交换协议
|
static HttpResponseStatus |
HttpResponseStatus.TEMPORARY_REDIRECT
307临时重定向(自HTTP / 1.1以来)
|
static HttpResponseStatus |
HttpResponseStatus.TOO_MANY_REQUESTS
429太多请求(RFC6585)
|
static HttpResponseStatus |
HttpResponseStatus.UNAUTHORIZED
401未经授权
|
static HttpResponseStatus |
HttpResponseStatus.UNORDERED_COLLECTION
425无序集合(WebDAV,RFC3648)
|
static HttpResponseStatus |
HttpResponseStatus.UNPROCESSABLE_ENTITY
422不可处理的实体(WebDAV,RFC4918)
|
static HttpResponseStatus |
HttpResponseStatus.UNSUPPORTED_MEDIA_TYPE
415不支持的媒体类型
|
static HttpResponseStatus |
HttpResponseStatus.UPGRADE_REQUIRED
需要升级(RFC2817)
|
static HttpResponseStatus |
HttpResponseStatus.USE_PROXY
305使用代理(自HTTP / 1.1)
|
static HttpResponseStatus |
HttpResponseStatus.VARIANT_ALSO_NEGOTIATES
506变式也协商(RFC2295)
|
Modifier and Type | Method and Description |
---|---|
HttpResponseStatus |
HttpResponse.getStatus()
已过时。
改为使用
HttpResponse.status() 。
|
HttpResponseStatus |
DefaultHttpResponse.getStatus()
已过时。
|
static HttpResponseStatus |
HttpResponseStatus.parseLine(AsciiString line)
将指定的HTTP状态行解析为 HttpResponseStatus 。
|
static HttpResponseStatus |
HttpResponseStatus.parseLine(java.lang.CharSequence line)
将指定的HTTP状态行解析为 HttpResponseStatus 。
|
static HttpResponseStatus |
HttpResponseStatus.parseLine(java.lang.String line)
将指定的HTTP状态行解析为 HttpResponseStatus 。
|
HttpResponseStatus |
HttpResponse.status()
返回此 HttpResponse 的状态。
|
HttpResponseStatus |
DefaultHttpResponse.status() |
static HttpResponseStatus |
HttpResponseStatus.valueOf(int code)
返回由指定代码表示的 HttpResponseStatus 。
|
static HttpResponseStatus |
HttpResponseStatus.valueOf(int code, java.lang.String reasonPhrase)
返回 HttpResponseStatus 由指定的代表code 和reasonPhrase 。
|
Modifier and Type | Method and Description |
---|---|
int |
HttpResponseStatus.compareTo(HttpResponseStatus o)
HttpResponseStatus 的平等仅取决于code() 。
|
HttpResponse |
HttpResponse.setStatus(HttpResponseStatus status)
设置此 HttpResponse 的状态。
|
FullHttpResponse |
FullHttpResponse.setStatus(HttpResponseStatus status) |
HttpResponse |
DefaultHttpResponse.setStatus(HttpResponseStatus status) |
FullHttpResponse |
DefaultFullHttpResponse.setStatus(HttpResponseStatus status) |
Modifier and Type | Field and Description |
---|---|
static HttpResponseStatus |
HttpConversionUtil.OUT_OF_MESSAGE_SEQUENCE_RETURN_CODE
这将是用于该状态码 HttpResponse 名HTTP消息流的生成的对象中所定义
|
Modifier and Type | Method and Description |
---|---|
static HttpResponseStatus |
HttpConversionUtil.parseStatus(java.lang.CharSequence status)
在将状态代码翻译为 HttpResponseStatus 的同时应用HTTP / 2规则
|
Modifier and Type | Field and Description |
---|---|
static HttpResponseStatus |
RtspResponseStatuses.AGGREGATE_OPERATION_NOT_ALLOWED
459不允许进行汇总操作
|
static HttpResponseStatus |
RtspResponseStatuses.BAD_GATEWAY
502错误的网关
|
static HttpResponseStatus |
RtspResponseStatuses.BAD_REQUEST
400错误请求
|
static HttpResponseStatus |
RtspResponseStatuses.CONFERENCE_NOT_FOUND
452会议未找到
|
static HttpResponseStatus |
RtspResponseStatuses.CONTINUE
100继续
|
static HttpResponseStatus |
RtspResponseStatuses.CREATED
201创建
|
static HttpResponseStatus |
RtspResponseStatuses.DESTINATION_UNREACHABLE
462目的地不可达
|
static HttpResponseStatus |
RtspResponseStatuses.FORBIDDEN
403禁止
|
static HttpResponseStatus |
RtspResponseStatuses.GATEWAY_TIMEOUT
504网关超时
|
static HttpResponseStatus |
RtspResponseStatuses.GONE
410消失
|
static HttpResponseStatus |
RtspResponseStatuses.HEADER_FIELD_NOT_VALID
456标题字段对资源无效
|
static HttpResponseStatus |
RtspResponseStatuses.INTERNAL_SERVER_ERROR
500内部服务器错误
|
static HttpResponseStatus |
RtspResponseStatuses.INVALID_RANGE
457无效范围
|
static HttpResponseStatus |
RtspResponseStatuses.KEY_MANAGEMENT_FAILURE
463密钥管理失败
|
static HttpResponseStatus |
RtspResponseStatuses.LENGTH_REQUIRED
411长度要求
|
static HttpResponseStatus |
RtspResponseStatuses.LOW_STORAGE_SPACE
250的存储空间不足
|
static HttpResponseStatus |
RtspResponseStatuses.METHOD_NOT_ALLOWED
405方法不允许
|
static HttpResponseStatus |
RtspResponseStatuses.METHOD_NOT_VALID
455方法在此状态下无效
|
static HttpResponseStatus |
RtspResponseStatuses.MOVED_PERMANENTLY
301永久移动
|
static HttpResponseStatus |
RtspResponseStatuses.MOVED_TEMPORARILY
302暂时移动
|
static HttpResponseStatus |
RtspResponseStatuses.MULTIPLE_CHOICES
300多种选择
|
static HttpResponseStatus |
RtspResponseStatuses.NOT_ACCEPTABLE
406不可接受
|
static HttpResponseStatus |
RtspResponseStatuses.NOT_ENOUGH_BANDWIDTH
453带宽不够
|
static HttpResponseStatus |
RtspResponseStatuses.NOT_FOUND
404未找到
|
static HttpResponseStatus |
RtspResponseStatuses.NOT_IMPLEMENTED
501未实施
|
static HttpResponseStatus |
RtspResponseStatuses.NOT_MODIFIED
304未修改
|
static HttpResponseStatus |
RtspResponseStatuses.OK
200 OK
|
static HttpResponseStatus |
RtspResponseStatuses.ONLY_AGGREGATE_OPERATION_ALLOWED
460只允许聚合操作
|
static HttpResponseStatus |
RtspResponseStatuses.OPTION_NOT_SUPPORTED
551选项不受支持
|
static HttpResponseStatus |
RtspResponseStatuses.PARAMETER_IS_READONLY
458参数是只读的
|
static HttpResponseStatus |
RtspResponseStatuses.PARAMETER_NOT_UNDERSTOOD
451参数不明白
|
static HttpResponseStatus |
RtspResponseStatuses.PAYMENT_REQUIRED
402需要付款
|
static HttpResponseStatus |
RtspResponseStatuses.PRECONDITION_FAILED
412先决条件失败
|
static HttpResponseStatus |
RtspResponseStatuses.PROXY_AUTHENTICATION_REQUIRED
需要407代理验证
|
static HttpResponseStatus |
RtspResponseStatuses.REQUEST_ENTITY_TOO_LARGE
413请求实体太大
|
static HttpResponseStatus |
RtspResponseStatuses.REQUEST_TIMEOUT
408请求超时
|
static HttpResponseStatus |
RtspResponseStatuses.REQUEST_URI_TOO_LONG
414请求URI太长
|
static HttpResponseStatus |
RtspResponseStatuses.RTSP_VERSION_NOT_SUPPORTED
不支持505 RTSP版本
|
static HttpResponseStatus |
RtspResponseStatuses.SERVICE_UNAVAILABLE
503服务不可用
|
static HttpResponseStatus |
RtspResponseStatuses.SESSION_NOT_FOUND
未找到454会话
|
static HttpResponseStatus |
RtspResponseStatuses.UNAUTHORIZED
401未经授权
|
static HttpResponseStatus |
RtspResponseStatuses.UNSUPPORTED_MEDIA_TYPE
415不支持的媒体类型
|
static HttpResponseStatus |
RtspResponseStatuses.UNSUPPORTED_TRANSPORT
461不支持的运输
|
static HttpResponseStatus |
RtspResponseStatuses.USE_PROXY
305使用代理
|
Modifier and Type | Method and Description |
---|---|
static HttpResponseStatus |
RtspResponseStatuses.valueOf(int code)
Returns the
HttpResponseStatus represented by the specified code.
|
Copyright © 2008–2018 The Netty Project. All rights reserved.