Package io.netty.handler.codec.http
Encoder, decoder and their related message types for HTTP.
-
Interface Summary Interface Description Cookie Deprecated. UseCookieinstead.FullHttpMessage 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 An HTTP chunk which is used for HTTP chunked transfer-encoding.HttpHeadersFactory An interface for creatingHttpHeadersinstances.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 The lastHttpContentwhich 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. UseClientCookieDecoderorServerCookieDecoderinstead.DefaultCookie Deprecated. UseDefaultCookieinstead.DefaultFullHttpRequest Default implementation ofFullHttpRequest.DefaultFullHttpResponse Default implementation of aFullHttpResponse.DefaultHttpContent The defaultHttpContentimplementation.DefaultHttpHeaders Default implementation ofHttpHeaders.DefaultHttpHeadersFactory A builder ofHttpHeadersFactoryinstances, that itself implementsHttpHeadersFactory.DefaultHttpMessage The defaultHttpMessageimplementation.DefaultHttpObject DefaultHttpRequest The defaultHttpRequestimplementation.DefaultHttpResponse The defaultHttpResponseimplementation.DefaultLastHttpContent The defaultLastHttpContentimplementation.EmptyHttpHeaders HttpChunkedInput AChunkedInputthat fetches data chunk by chunk for use with HTTP chunked transfers.HttpClientCodec A combination ofHttpRequestEncoderandHttpResponseDecoderwhich enables easier client side HTTP implementation.HttpClientUpgradeHandler 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 HttpDecoderConfig A configuration object for specifying the behaviour ofHttpObjectDecoderand 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. UseDateFormatterinsteadHttpHeaderNames 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. UseHttpHeaderNamesinstead.HttpHeaders.Values Deprecated. UseHttpHeaderValuesinstead.HttpHeaderValidationUtil Functions used to perform various validations of HTTP header names and values.HttpHeaderValues Standard HTTP header values.HttpMessageDecoderResult HttpMethod HttpObjectAggregator 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 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 ofHttpHeaderswhich only supports read-only methods.ServerCookieEncoder Deprecated. UseServerCookieEncoderinstead -
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 InvalidChunkExtensionException Thrown when HTTP chunk extensions could not be parsed, typically due to incorrect use of CR LF delimiters.InvalidChunkTerminationException Thrown when HTTP chunks could not be parsed, typically due to incorrect use of CR LF delimiters.InvalidLineSeparatorException Thrown when strict line parsing is enabled, and HTTP start- and header field-lines are not seperated by CR LF octet pairs.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.