Package | Description |
---|---|
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
io.netty.handler.codec.rtsp |
An RTSP
extension based on the HTTP codec.
|
Modifier and Type | Field and Description |
---|---|
static HttpResponseStatus |
HttpResponseStatus.ACCEPTED
202 Accepted
|
static HttpResponseStatus |
HttpResponseStatus.BAD_GATEWAY
502 Bad Gateway
|
static HttpResponseStatus |
HttpResponseStatus.BAD_REQUEST
400 Bad Request
|
static HttpResponseStatus |
HttpResponseStatus.CONFLICT
409 Conflict
|
static HttpResponseStatus |
HttpResponseStatus.CONTINUE
100 Continue
|
static HttpResponseStatus |
HttpResponseStatus.CREATED
201 Created
|
static HttpResponseStatus |
HttpResponseStatus.EARLY_HINTS
103 Early Hints (RFC 8297)
|
static HttpResponseStatus |
HttpResponseStatus.EXPECTATION_FAILED
417 Expectation Failed
|
static HttpResponseStatus |
HttpResponseStatus.FAILED_DEPENDENCY
424 Failed Dependency (WebDAV, RFC4918)
|
static HttpResponseStatus |
HttpResponseStatus.FORBIDDEN
403 Forbidden
|
static HttpResponseStatus |
HttpResponseStatus.FOUND
302 Found
|
static HttpResponseStatus |
HttpResponseStatus.GATEWAY_TIMEOUT
504 Gateway Timeout
|
static HttpResponseStatus |
HttpResponseStatus.GONE
410 Gone
|
static HttpResponseStatus |
HttpResponseStatus.HTTP_VERSION_NOT_SUPPORTED
505 HTTP Version Not Supported
|
static HttpResponseStatus |
HttpResponseStatus.INSUFFICIENT_STORAGE
507 Insufficient Storage (WebDAV, RFC4918)
|
static HttpResponseStatus |
HttpResponseStatus.INTERNAL_SERVER_ERROR
500 Internal Server Error
|
static HttpResponseStatus |
HttpResponseStatus.LENGTH_REQUIRED
411 Length Required
|
static HttpResponseStatus |
HttpResponseStatus.LOCKED
423 Locked (WebDAV, RFC4918)
|
static HttpResponseStatus |
HttpResponseStatus.METHOD_NOT_ALLOWED
405 Method Not Allowed
|
static HttpResponseStatus |
HttpResponseStatus.MISDIRECTED_REQUEST
421 Misdirected Request
|
static HttpResponseStatus |
HttpResponseStatus.MOVED_PERMANENTLY
301 Moved Permanently
|
static HttpResponseStatus |
HttpResponseStatus.MULTI_STATUS
207 Multi-Status (WebDAV, RFC2518)
|
static HttpResponseStatus |
HttpResponseStatus.MULTIPLE_CHOICES
300 Multiple Choices
|
static HttpResponseStatus |
HttpResponseStatus.NETWORK_AUTHENTICATION_REQUIRED
511 Network Authentication Required (RFC6585)
|
static HttpResponseStatus |
HttpResponseStatus.NO_CONTENT
204 No Content
|
static HttpResponseStatus |
HttpResponseStatus.NON_AUTHORITATIVE_INFORMATION
203 Non-Authoritative Information (since HTTP/1.1)
|
static HttpResponseStatus |
HttpResponseStatus.NOT_ACCEPTABLE
406 Not Acceptable
|
static HttpResponseStatus |
HttpResponseStatus.NOT_EXTENDED
510 Not Extended (RFC2774)
|
static HttpResponseStatus |
HttpResponseStatus.NOT_FOUND
404 Not Found
|
static HttpResponseStatus |
HttpResponseStatus.NOT_IMPLEMENTED
501 Not Implemented
|
static HttpResponseStatus |
HttpResponseStatus.NOT_MODIFIED
304 Not Modified
|
static HttpResponseStatus |
HttpResponseStatus.OK
200 OK
|
static HttpResponseStatus |
HttpResponseStatus.PARTIAL_CONTENT
206 Partial Content
|
static HttpResponseStatus |
HttpResponseStatus.PAYMENT_REQUIRED
402 Payment Required
|
static HttpResponseStatus |
HttpResponseStatus.PERMANENT_REDIRECT
308 Permanent Redirect (RFC7538)
|
static HttpResponseStatus |
HttpResponseStatus.PRECONDITION_FAILED
412 Precondition Failed
|
static HttpResponseStatus |
HttpResponseStatus.PRECONDITION_REQUIRED
428 Precondition Required (RFC6585)
|
static HttpResponseStatus |
HttpResponseStatus.PROCESSING
102 Processing (WebDAV, RFC2518)
|
static HttpResponseStatus |
HttpResponseStatus.PROXY_AUTHENTICATION_REQUIRED
407 Proxy Authentication Required
|
static HttpResponseStatus |
HttpResponseStatus.REQUEST_ENTITY_TOO_LARGE
413 Request Entity Too Large
|
static HttpResponseStatus |
HttpResponseStatus.REQUEST_HEADER_FIELDS_TOO_LARGE
431 Request Header Fields Too Large (RFC6585)
|
static HttpResponseStatus |
HttpResponseStatus.REQUEST_TIMEOUT
408 Request Timeout
|
static HttpResponseStatus |
HttpResponseStatus.REQUEST_URI_TOO_LONG
414 Request-URI Too Long
|
static HttpResponseStatus |
HttpResponseStatus.REQUESTED_RANGE_NOT_SATISFIABLE
416 Requested Range Not Satisfiable
|
static HttpResponseStatus |
HttpResponseStatus.RESET_CONTENT
205 Reset Content
|
static HttpResponseStatus |
HttpResponseStatus.SEE_OTHER
303 See Other (since HTTP/1.1)
|
static HttpResponseStatus |
HttpResponseStatus.SERVICE_UNAVAILABLE
503 Service Unavailable
|
static HttpResponseStatus |
HttpResponseStatus.SWITCHING_PROTOCOLS
101 Switching Protocols
|
static HttpResponseStatus |
HttpResponseStatus.TEMPORARY_REDIRECT
307 Temporary Redirect (since HTTP/1.1)
|
static HttpResponseStatus |
HttpResponseStatus.TOO_MANY_REQUESTS
429 Too Many Requests (RFC6585)
|
static HttpResponseStatus |
HttpResponseStatus.UNAUTHORIZED
401 Unauthorized
|
static HttpResponseStatus |
HttpResponseStatus.UNORDERED_COLLECTION
425 Unordered Collection (WebDAV, RFC3648)
|
static HttpResponseStatus |
HttpResponseStatus.UNPROCESSABLE_ENTITY
422 Unprocessable Entity (WebDAV, RFC4918)
|
static HttpResponseStatus |
HttpResponseStatus.UNSUPPORTED_MEDIA_TYPE
415 Unsupported Media Type
|
static HttpResponseStatus |
HttpResponseStatus.UPGRADE_REQUIRED
426 Upgrade Required (RFC2817)
|
static HttpResponseStatus |
HttpResponseStatus.USE_PROXY
305 Use Proxy (since HTTP/1.1)
|
static HttpResponseStatus |
HttpResponseStatus.VARIANT_ALSO_NEGOTIATES
506 Variant Also Negotiates (RFC2295)
|
Modifier and Type | Method and Description |
---|---|
HttpResponseStatus |
DefaultHttpResponse.getStatus()
Deprecated.
|
HttpResponseStatus |
HttpResponse.getStatus()
Deprecated.
Use
HttpResponse.status() instead. |
static HttpResponseStatus |
HttpResponseStatus.parseLine(AsciiString line)
Parses the specified HTTP status line into a
HttpResponseStatus . |
static HttpResponseStatus |
HttpResponseStatus.parseLine(CharSequence line)
Parses the specified HTTP status line into a
HttpResponseStatus . |
static HttpResponseStatus |
HttpResponseStatus.parseLine(String line)
Parses the specified HTTP status line into a
HttpResponseStatus . |
HttpResponseStatus |
DefaultHttpResponse.status() |
HttpResponseStatus |
HttpResponse.status()
Returns the status of this
HttpResponse . |
static HttpResponseStatus |
HttpResponseStatus.valueOf(int code)
Returns the
HttpResponseStatus represented by the specified code. |
static HttpResponseStatus |
HttpResponseStatus.valueOf(int code,
String reasonPhrase)
|
Modifier and Type | Method and Description |
---|---|
int |
HttpResponseStatus.compareTo(HttpResponseStatus o)
Equality of
HttpResponseStatus only depends on code() . |
HttpResponse |
DefaultHttpResponse.setStatus(HttpResponseStatus status) |
FullHttpResponse |
FullHttpResponse.setStatus(HttpResponseStatus status) |
FullHttpResponse |
DefaultFullHttpResponse.setStatus(HttpResponseStatus status) |
HttpResponse |
HttpResponse.setStatus(HttpResponseStatus status)
Set the status of this
HttpResponse . |
Constructor and Description |
---|
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status)
Create an empty HTTP response with the given HTTP version and status.
|
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
boolean validateHeaders)
Deprecated.
Prefer the
DefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf,
HttpHeadersFactory, HttpHeadersFactory) constructor instead. |
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
boolean validateHeaders,
boolean singleFieldHeaders)
Deprecated.
Prefer the
DefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf,
HttpHeadersFactory, HttpHeadersFactory) constructor instead. |
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
ByteBuf content)
Create an HTTP response with the given HTTP version, status, and contents.
|
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
ByteBuf content,
boolean validateHeaders)
Deprecated.
Prefer the
DefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf,
HttpHeadersFactory, HttpHeadersFactory) constructor instead. |
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
ByteBuf content,
boolean validateHeaders,
boolean singleFieldHeaders)
Deprecated.
Prefer the
DefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf,
HttpHeadersFactory, HttpHeadersFactory) constructor instead. |
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
ByteBuf content,
HttpHeadersFactory headersFactory,
HttpHeadersFactory trailersFactory)
Create an HTTP response with the given HTTP version, status, contents,
and with headers and trailers created by the given header factories.
|
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
ByteBuf content,
HttpHeaders headers,
HttpHeaders trailingHeaders)
Create an HTTP response with the given HTTP version, status, contents, headers and trailers.
|
DefaultHttpResponse(HttpVersion version,
HttpResponseStatus status)
Creates a new instance.
|
DefaultHttpResponse(HttpVersion version,
HttpResponseStatus status,
boolean validateHeaders)
Deprecated.
Use the
DefaultHttpResponse(HttpVersion, HttpResponseStatus, HttpHeadersFactory) constructor
instead. |
DefaultHttpResponse(HttpVersion version,
HttpResponseStatus status,
boolean validateHeaders,
boolean singleFieldHeaders)
Deprecated.
Use the
DefaultHttpResponse(HttpVersion, HttpResponseStatus, HttpHeadersFactory) constructor
instead. |
DefaultHttpResponse(HttpVersion version,
HttpResponseStatus status,
HttpHeaders headers)
Creates a new instance.
|
DefaultHttpResponse(HttpVersion version,
HttpResponseStatus status,
HttpHeadersFactory headersFactory)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
static HttpResponseStatus |
HttpConversionUtil.OUT_OF_MESSAGE_SEQUENCE_RETURN_CODE
This will be the status code used for
HttpResponse objects generated out of the HTTP message flow defined
in [RFC 7540], Section 8.1 |
Modifier and Type | Method and Description |
---|---|
static HttpResponseStatus |
HttpConversionUtil.parseStatus(CharSequence status)
Apply HTTP/2 rules while translating status code to
HttpResponseStatus |
Modifier and Type | Field and Description |
---|---|
static HttpResponseStatus |
RtspResponseStatuses.AGGREGATE_OPERATION_NOT_ALLOWED
459 Aggregate operation not allowed
|
static HttpResponseStatus |
RtspResponseStatuses.BAD_GATEWAY
502 Bad Gateway
|
static HttpResponseStatus |
RtspResponseStatuses.BAD_REQUEST
400 Bad Request
|
static HttpResponseStatus |
RtspResponseStatuses.CONFERENCE_NOT_FOUND
452 Conference Not Found
|
static HttpResponseStatus |
RtspResponseStatuses.CONTINUE
100 Continue
|
static HttpResponseStatus |
RtspResponseStatuses.CREATED
201 Created
|
static HttpResponseStatus |
RtspResponseStatuses.DESTINATION_UNREACHABLE
462 Destination unreachable
|
static HttpResponseStatus |
RtspResponseStatuses.FORBIDDEN
403 Forbidden
|
static HttpResponseStatus |
RtspResponseStatuses.GATEWAY_TIMEOUT
504 Gateway Timeout
|
static HttpResponseStatus |
RtspResponseStatuses.GONE
410 Gone
|
static HttpResponseStatus |
RtspResponseStatuses.HEADER_FIELD_NOT_VALID
456 Header Field Not Valid for Resource
|
static HttpResponseStatus |
RtspResponseStatuses.INTERNAL_SERVER_ERROR
500 Internal Server Error
|
static HttpResponseStatus |
RtspResponseStatuses.INVALID_RANGE
457 Invalid Range
|
static HttpResponseStatus |
RtspResponseStatuses.KEY_MANAGEMENT_FAILURE
463 Key management failure
|
static HttpResponseStatus |
RtspResponseStatuses.LENGTH_REQUIRED
411 Length Required
|
static HttpResponseStatus |
RtspResponseStatuses.LOW_STORAGE_SPACE
250 Low on Storage Space
|
static HttpResponseStatus |
RtspResponseStatuses.METHOD_NOT_ALLOWED
405 Method Not Allowed
|
static HttpResponseStatus |
RtspResponseStatuses.METHOD_NOT_VALID
455 Method Not Valid in This State
|
static HttpResponseStatus |
RtspResponseStatuses.MOVED_PERMANENTLY
301 Moved Permanently
|
static HttpResponseStatus |
RtspResponseStatuses.MOVED_TEMPORARILY
302 Moved Temporarily
|
static HttpResponseStatus |
RtspResponseStatuses.MULTIPLE_CHOICES
300 Multiple Choices
|
static HttpResponseStatus |
RtspResponseStatuses.NOT_ACCEPTABLE
406 Not Acceptable
|
static HttpResponseStatus |
RtspResponseStatuses.NOT_ENOUGH_BANDWIDTH
453 Not Enough Bandwidth
|
static HttpResponseStatus |
RtspResponseStatuses.NOT_FOUND
404 Not Found
|
static HttpResponseStatus |
RtspResponseStatuses.NOT_IMPLEMENTED
501 Not Implemented
|
static HttpResponseStatus |
RtspResponseStatuses.NOT_MODIFIED
304 Not Modified
|
static HttpResponseStatus |
RtspResponseStatuses.OK
200 OK
|
static HttpResponseStatus |
RtspResponseStatuses.ONLY_AGGREGATE_OPERATION_ALLOWED
460 Only Aggregate operation allowed
|
static HttpResponseStatus |
RtspResponseStatuses.OPTION_NOT_SUPPORTED
551 Option not supported
|
static HttpResponseStatus |
RtspResponseStatuses.PARAMETER_IS_READONLY
458 Parameter Is Read-Only
|
static HttpResponseStatus |
RtspResponseStatuses.PARAMETER_NOT_UNDERSTOOD
451 Parameter Not Understood
|
static HttpResponseStatus |
RtspResponseStatuses.PAYMENT_REQUIRED
402 Payment Required
|
static HttpResponseStatus |
RtspResponseStatuses.PRECONDITION_FAILED
412 Precondition Failed
|
static HttpResponseStatus |
RtspResponseStatuses.PROXY_AUTHENTICATION_REQUIRED
407 Proxy Authentication Required
|
static HttpResponseStatus |
RtspResponseStatuses.REQUEST_ENTITY_TOO_LARGE
413 Request Entity Too Large
|
static HttpResponseStatus |
RtspResponseStatuses.REQUEST_TIMEOUT
408 Request Timeout
|
static HttpResponseStatus |
RtspResponseStatuses.REQUEST_URI_TOO_LONG
414 Request-URI Too Long
|
static HttpResponseStatus |
RtspResponseStatuses.RTSP_VERSION_NOT_SUPPORTED
505 RTSP Version not supported
|
static HttpResponseStatus |
RtspResponseStatuses.SERVICE_UNAVAILABLE
503 Service Unavailable
|
static HttpResponseStatus |
RtspResponseStatuses.SESSION_NOT_FOUND
454 Session Not Found
|
static HttpResponseStatus |
RtspResponseStatuses.UNAUTHORIZED
401 Unauthorized
|
static HttpResponseStatus |
RtspResponseStatuses.UNSUPPORTED_MEDIA_TYPE
415 Unsupported Media Type
|
static HttpResponseStatus |
RtspResponseStatuses.UNSUPPORTED_TRANSPORT
461 Unsupported transport
|
static HttpResponseStatus |
RtspResponseStatuses.USE_PROXY
305 Use Proxy
|
Modifier and Type | Method and Description |
---|---|
static HttpResponseStatus |
RtspResponseStatuses.valueOf(int code)
Returns the
HttpResponseStatus represented by the specified code. |
Copyright © 2008–2024 The Netty Project. All rights reserved.