Package io.netty.handler.codec.http
Encoder, decoder and their related message types for HTTP.
-
Interface Summary Interface Description Cookie Deprecated. UseCookie
instead.FullHttpMessage CombinesHttpMessage
andLastHttpContent
into one message.FullHttpRequest Combine theHttpRequest
andFullHttpMessage
, so the request is a complete HTTP request.FullHttpResponse Combination of aHttpResponse
andFullHttpMessage
.HttpClientUpgradeHandler.SourceCodec The source codec that is used in the pipeline initially.HttpClientUpgradeHandler.UpgradeCodec A codec that the source can be upgraded to.HttpContent An HTTP chunk which is used for HTTP chunked transfer-encoding.HttpHeadersFactory An interface for creatingHttpHeaders
instances.HttpMessage An interface that defines an HTTP message, providing common properties forHttpRequest
andHttpResponse
.HttpObject HttpRequest An HTTP request.HttpResponse An HTTP response.HttpServerUpgradeHandler.SourceCodec The source codec that is used in the pipeline initially.HttpServerUpgradeHandler.UpgradeCodec A codec that the source can be upgraded to.HttpServerUpgradeHandler.UpgradeCodecFactory Creates a newHttpServerUpgradeHandler.UpgradeCodec
for the requested protocol name.LastHttpContent The lastHttpContent
which has trailing headers. -
Class Summary Class Description ClientCookieEncoder Deprecated. CombinedHttpHeaders Will add multiple values for the same header as single header with a comma separated list of values.CookieDecoder Deprecated. UseClientCookieDecoder
orServerCookieDecoder
instead.DefaultCookie Deprecated. UseDefaultCookie
instead.DefaultFullHttpRequest Default implementation ofFullHttpRequest
.DefaultFullHttpResponse Default implementation of aFullHttpResponse
.DefaultHttpContent The defaultHttpContent
implementation.DefaultHttpHeaders Default implementation ofHttpHeaders
.DefaultHttpHeadersFactory A builder ofHttpHeadersFactory
instances, that itself implementsHttpHeadersFactory
.DefaultHttpMessage The defaultHttpMessage
implementation.DefaultHttpObject DefaultHttpRequest The defaultHttpRequest
implementation.DefaultHttpResponse The defaultHttpResponse
implementation.DefaultLastHttpContent The defaultLastHttpContent
implementation.EmptyHttpHeaders HttpChunkedInput AChunkedInput
that fetches data chunk by chunk for use with HTTP chunked transfers.HttpClientCodec A combination ofHttpRequestEncoder
andHttpResponseDecoder
which enables easier client side HTTP implementation.HttpClientUpgradeHandler Client-side handler for handling an HTTP upgrade handshake to another protocol.HttpConstants HttpContentCompressor Compresses anHttpMessage
and anHttpContent
ingzip
ordeflate
encoding while respecting the"Accept-Encoding"
header.HttpContentDecoder Decodes the content of the receivedHttpRequest
andHttpContent
.HttpContentDecompressor HttpContentEncoder Encodes the content of the outboundHttpResponse
andHttpContent
.HttpContentEncoder.Result HttpDecoderConfig A configuration object for specifying the behaviour ofHttpObjectDecoder
and its subclasses.HttpExpectationFailedEvent A user event designed to communicate that a expectation has failed and there should be no expectation that a body will follow.HttpHeaderDateFormat Deprecated. UseDateFormatter
insteadHttpHeaderNames Standard HTTP header names.HttpHeaders Provides the constants for the standard HTTP header names and values and commonly used utility methods that accesses anHttpMessage
.HttpHeaders.Names Deprecated. UseHttpHeaderNames
instead.HttpHeaders.Values Deprecated. UseHttpHeaderValues
instead.HttpHeaderValidationUtil Functions used to perform various validations of HTTP header names and values.HttpHeaderValues Standard HTTP header values.HttpMessageDecoderResult HttpMethod HttpObjectAggregator AChannelHandler
that aggregates anHttpMessage
and its followingHttpContent
s into a singleFullHttpRequest
orFullHttpResponse
(depending on if it used to handle requests or responses) with no followingHttpContent
s.HttpObjectDecoder HttpObjectEncoder<H extends HttpMessage> HttpRequestDecoder HttpRequestEncoder HttpResponseDecoder HttpResponseEncoder HttpResponseStatus HttpScheme Defines the common schemes used for the HTTP protocol as defined by rfc7230.HttpServerCodec A combination ofHttpRequestDecoder
andHttpResponseEncoder
which enables easier server side HTTP implementation.HttpServerExpectContinueHandler HttpServerKeepAliveHandler HttpServerKeepAliveHandler helps close persistent connections when appropriate.HttpServerUpgradeHandler A server-side handler that receives HTTP requests and optionally performs a protocol switch if the requested protocol is supported.HttpServerUpgradeHandler.UpgradeEvent User event that is fired to notify about the completion of an HTTP upgrade to another protocol.HttpUtil Utility methods useful in the HTTP context.HttpVersion QueryStringDecoder Splits an HTTP query string into a path string and key-value parameter pairs.QueryStringDecoder.Builder QueryStringEncoder Creates a URL-encoded URI from a path string and key-value parameter pairs.ReadOnlyHttpHeaders A variant ofHttpHeaders
which only supports read-only methods.ServerCookieEncoder Deprecated. UseServerCookieEncoder
instead -
Enum Summary Enum Description HttpClientUpgradeHandler.UpgradeEvent User events that are fired to notify about upgrade status.HttpStatusClass The class of HTTP status. -
Exception Summary Exception Description TooLongHttpContentException AnTooLongFrameException
which is thrown when the length of the content decoded is greater than the allowed maximum.TooLongHttpHeaderException AnTooLongFrameException
which is thrown when the length of the header decoded is greater than the allowed maximum.TooLongHttpLineException AnTooLongFrameException
which is thrown when the length of the line decoded is greater than the allowed maximum.