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>> CombinesHttpMessageandLastHttpContentinto one message.FullHttpRequest Combine theHttpRequestandFullHttpMessage, so the request is a complete HTTP request.FullHttpResponse Combination of aHttpResponseandFullHttpMessage.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 forHttpRequestandHttpResponse.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.UpgradeCodecfor the requested protocol name.LastHttpContent<R extends LastHttpContent<R>> The lastHttpContentwhich 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 defaultHttpContentimplementation.DefaultHttpHeaders Default implementation ofHttpHeaders.DefaultHttpMessage The defaultHttpMessageimplementation.DefaultHttpObject DefaultHttpRequest The defaultHttpRequestimplementation.DefaultHttpResponse The defaultHttpResponseimplementation.DefaultLastHttpContent The defaultLastHttpContentimplementation.EmptyHttpHeaders EmptyLastHttpContent HttpChunkedInput AChunkedInputthat fetches data chunk by chunk for use with HTTP chunked transfers.HttpClientCodec A combination ofHttpRequestEncoderandHttpResponseDecoderwhich 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 anHttpMessageand anHttpContentingzipordeflateencoding while respecting the"Accept-Encoding"header.HttpContentDecoder Decodes the content of the receivedHttpRequestandHttpContent.HttpContentDecompressor HttpContentEncoder Encodes the content of the outboundHttpResponseandHttpContent.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>> AChannelHandlerthat aggregates anHttpMessageand its followingHttpContents into a singleFullHttpRequestorFullHttpResponse(depending on if it used to handle requests or responses) with no followingHttpContents.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 ofHttpRequestDecoderandHttpResponseEncoderwhich 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 ofHttpHeaderswhich 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 AnTooLongFrameExceptionwhich is thrown when the length of the content decoded is greater than the allowed maximum.TooLongHttpHeaderException AnTooLongFrameExceptionwhich is thrown when the length of the header decoded is greater than the allowed maximum.TooLongHttpLineException AnTooLongFrameExceptionwhich is thrown when the length of the line decoded is greater than the allowed maximum.