Package io.netty.handler.codec.http
package io.netty.handler.codec.http
Encoder, decoder and their related message types for HTTP.
-
ClassDescriptionDeprecated.Will add multiple values for the same header as single header with a comma separated list of values.Deprecated.Deprecated.Use
ClientCookieDecoderorServerCookieDecoderinstead.Deprecated.UseDefaultCookieinstead.Default implementation ofFullHttpRequest.Default implementation of aFullHttpResponse.The defaultHttpContentimplementation.Default implementation ofHttpHeaders.A builder ofHttpHeadersFactoryinstances, that itself implementsHttpHeadersFactory.The defaultHttpMessageimplementation.The defaultHttpRequestimplementation.The defaultHttpResponseimplementation.The defaultLastHttpContentimplementation.CombinesHttpMessageandLastHttpContentinto one message.Combine theHttpRequestandFullHttpMessage, so the request is a complete HTTP request.Combination of aHttpResponseandFullHttpMessage.AChunkedInputthat fetches data chunk by chunk for use with HTTP chunked transfers.A combination ofHttpRequestEncoderandHttpResponseDecoderwhich enables easier client side HTTP implementation.Client-side handler for handling an HTTP upgrade handshake to another protocol.The source codec that is used in the pipeline initially.A codec that the source can be upgraded to.User events that are fired to notify about upgrade status.An HTTP chunk which is used for HTTP chunked transfer-encoding.Compresses anHttpMessageand anHttpContentingzipordeflateencoding while respecting the"Accept-Encoding"header.Decodes the content of the receivedHttpRequestandHttpContent.Encodes the content of the outboundHttpResponseandHttpContent.A configuration object for specifying the behaviour ofHttpObjectDecoderand its subclasses.A user event designed to communicate that a expectation has failed and there should be no expectation that a body will follow.Deprecated.UseDateFormatterinsteadStandard HTTP header names.Provides the constants for the standard HTTP header names and values and commonly used utility methods that accesses anHttpMessage.Deprecated.UseHttpHeaderNamesinstead.Deprecated.UseHttpHeaderValuesinstead.An interface for creatingHttpHeadersinstances.Functions used to perform various validations of HTTP header names and values.Standard HTTP header values.An interface that defines an HTTP message, providing common properties forHttpRequestandHttpResponse.AChannelHandlerthat aggregates anHttpMessageand its followingHttpContents into a singleFullHttpRequestorFullHttpResponse(depending on if it used to handle requests or responses) with no followingHttpContents.HttpObjectEncoder<H extends HttpMessage>An HTTP request.An HTTP response.Defines the common schemes used for the HTTP protocol as defined by rfc7230.A combination ofHttpRequestDecoderandHttpResponseEncoderwhich enables easier server side HTTP implementation.HttpServerKeepAliveHandler helps close persistent connections when appropriate.A server-side handler that receives HTTP requests and optionally performs a protocol switch if the requested protocol is supported.The source codec that is used in the pipeline initially.A codec that the source can be upgraded to.Creates a newHttpServerUpgradeHandler.UpgradeCodecfor the requested protocol name.User event that is fired to notify about the completion of an HTTP upgrade to another protocol.The class of HTTP status.Utility methods useful in the HTTP context.The lastHttpContentwhich has trailing headers.Splits an HTTP query string into a path string and key-value parameter pairs.Creates a URL-encoded URI from a path string and key-value parameter pairs.A variant ofHttpHeaderswhich only supports read-only methods.Deprecated.UseServerCookieEncoderinsteadAnTooLongFrameExceptionwhich is thrown when the length of the content decoded is greater than the allowed maximum.AnTooLongFrameExceptionwhich is thrown when the length of the header decoded is greater than the allowed maximum.AnTooLongFrameExceptionwhich is thrown when the length of the line decoded is greater than the allowed maximum.
Cookieinstead.