Module io.netty5.codec.http
Package io.netty5.handler.codec.http
Encoder, decoder and their related message types for HTTP.
-
Interface Summary Interface Description FullHttpMessage<R extends FullHttpMessage<R>> 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<R extends HttpContent<R>> An HTTP chunk which is used for HTTP chunked transfer-encoding.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<R extends LastHttpContent<R>> The lastHttpContent
which has trailing headers. -
Class Summary Class Description CombinedHttpHeaders Will add multiple values for the same header as single header with a comma separated list of values.DefaultFullHttpRequest Default implementation ofFullHttpRequest
.DefaultFullHttpResponse Default implementation of aFullHttpResponse
.DefaultHttpContent The defaultHttpContent
implementation.DefaultHttpHeaders Default implementation ofHttpHeaders
.DefaultHttpMessage The defaultHttpMessage
implementation.DefaultHttpObject DefaultHttpRequest The defaultHttpRequest
implementation.DefaultHttpResponse The defaultHttpResponse
implementation.DefaultLastHttpContent The defaultLastHttpContent
implementation.EmptyHttpHeaders EmptyLastHttpContent 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<C extends HttpContent<C>> 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 HttpExpectationFailedEvent A user event designed to communicate that a expectation has failed and there should be no expectation that a body will follow.HttpHeaderNames Standard HTTP header names.HttpHeaders Provides the constants for the standard HTTP header names and values and commonly used utility methods that accesses anHttpMessage
.HttpHeaderValues Standard HTTP header values.HttpMessageDecoderResult HttpMethod HttpObjectAggregator<C extends HttpContent<C>> 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<C extends HttpContent<C>> 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.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. -
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.