Top Description Interfaces Classes Enums
module io.netty.codec.http

Package io.netty.handler.codec.http


Encoder, decoder and their related message types for HTTP.

Interface Summary

Modifier and TypeInterface and Description
pack-priv interface
CompressionEncoderFactory

Compression Encoder Factory for create MessageToByteEncoder used to compress http content

public interface
Cookie

An interface defining an HTTP cookie.
public interface
FullHttpMessage

Combines HttpMessage and LastHttpContent into one message.

public interface
FullHttpRequest

Combine the HttpRequest and FullHttpMessage, so the request is a complete HTTP request.

public interface
public interface
HttpContent

An HTTP chunk which is used for HTTP chunked transfer-encoding.

public interface
HttpHeadersFactory

An interface for creating HttpHeaders instances.

public interface
HttpMessage

An interface that defines an HTTP message, providing common properties for HttpRequest and HttpResponse.

public interface
public interface
HttpRequest

An HTTP request.

public interface
HttpResponse

An HTTP response.

public interface
LastHttpContent

The last HttpContent which has trailing headers.

Class Summary

Modifier and TypeClass and Description
public class
ClientCookieEncoder

Deprecated
A RFC6265 compliant cookie encoder to be used client side, so only name=value pairs are sent.
public class
CombinedHttpHeaders

Will add multiple values for the same header as single header with a comma separated list of values.

pack-priv class
public class
pack-priv class
CookieUtil

Deprecated Duplicate of package private $io.netty.handler.codec.http.cookie.CookieUtil
public class
DefaultCookie

The default Cookie implementation.
public class
DefaultFullHttpRequest

Default implementation of FullHttpRequest.

public class
DefaultFullHttpResponse

Default implementation of a FullHttpResponse.

public class
DefaultHttpContent

The default HttpContent implementation.

public class
DefaultHttpHeaders

Default implementation of HttpHeaders.

public class
DefaultHttpHeadersFactory

A builder of HttpHeadersFactory instances, that itself implements HttpHeadersFactory.

public abstract class
DefaultHttpMessage

The default HttpMessage implementation.

public class
public class
DefaultHttpRequest

The default HttpRequest implementation.

public class
DefaultHttpResponse

The default HttpResponse implementation.

public class
DefaultLastHttpContent

The default LastHttpContent implementation.

public class
public class
HttpChunkedInput

A ChunkedInput that fetches data chunk by chunk for use with HTTP chunked transfers.

public class
HttpClientCodec

A combination of HttpRequestEncoder and HttpResponseDecoder which enables easier client side HTTP implementation.

public class
HttpClientUpgradeHandler

Client-side handler for handling an HTTP upgrade handshake to another protocol.

public class
public class
HttpContentCompressor

Compresses an HttpMessage and an HttpContent in gzip or deflate encoding while respecting the "Accept-Encoding" header.

public abstract class
HttpContentDecoder

Decodes the content of the received HttpRequest and HttpContent.

public class
HttpContentDecompressor

Decompresses an HttpMessage and an HttpContent compressed in gzip or deflate encoding.

public abstract class
HttpContentEncoder

Encodes the content of the outbound HttpResponse and HttpContent.

public class
HttpDecoderConfig

A configuration object for specifying the behaviour of HttpObjectDecoder and its subclasses.

public class
HttpExpectationFailedEvent

A user event designed to communicate that a expectation has failed and there should be no expectation that a body will follow.

public class
HttpHeaderDateFormat

Deprecated Use DateFormatter instead
This DateFormat decodes 3 formats of Date, but only encodes the one, the first:
  • Sun, 06 Nov 1994 08:49:37 GMT: standard specification, the only one with valid generation
  • Sunday, 06-Nov-94 08:49:37 GMT: obsolete specification
  • Sun Nov 6 08:49:37 1994: obsolete specification
public class
HttpHeaderNames

Standard HTTP header names.

public abstract class
HttpHeaders

Provides the constants for the standard HTTP header names and values and commonly used utility methods that accesses an HttpMessage.

pack-priv class
public class
HttpHeaderValidationUtil

Functions used to perform various validations of HTTP header names and values.

public class
HttpHeaderValues

Standard HTTP header values.

public class
pack-priv class
HttpMessageUtil

Provides some utility methods for HTTP message implementations.

public class
HttpMethod

The request method of HTTP or its derived protocols, such as RTSP and ICAP.

public class
HttpObjectAggregator

A ChannelHandler that aggregates an HttpMessage and its following HttpContents into a single FullHttpRequest or FullHttpResponse (depending on if it used to handle requests or responses) with no following HttpContents.

public abstract class
public abstract class
HttpObjectEncoder<H extends HttpMessage>

Encodes an HttpMessage or an HttpContent into a ByteBuf.

public class
public class
public class
public class
public class
HttpResponseStatus

The response code and its description of HTTP or its derived protocols, such as RTSP and ICAP.

public class
HttpScheme

Defines the common schemes used for the HTTP protocol as defined by rfc7230.

public class
HttpServerCodec

A combination of HttpRequestDecoder and HttpResponseEncoder which enables easier server side HTTP implementation.

public class
HttpServerExpectContinueHandler

Sends a 100 CONTINUE HttpResponse to HttpRequests which contain a 'expect: 100-continue' header.

public class
HttpServerKeepAliveHandler

HttpServerKeepAliveHandler helps close persistent connections when appropriate.

public class
HttpServerUpgradeHandler

A server-side handler that receives HTTP requests and optionally performs a protocol switch if the requested protocol is supported.

public class
HttpUtil

Utility methods useful in the HTTP context.

public class
HttpVersion

The version of HTTP or its derived protocols, such as RTSP and ICAP.

public class
QueryStringDecoder

Splits an HTTP query string into a path string and key-value parameter pairs.

public class
QueryStringEncoder

Creates a URL-encoded URI from a path string and key-value parameter pairs.

public class
ReadOnlyHttpHeaders

A variant of HttpHeaders which only supports read-only methods.

public class
ServerCookieEncoder

A RFC6265 compliant cookie encoder to be used server side, so some fields are sent (Version is typically ignored).
public class
TooLongHttpContentException

An TooLongFrameException which is thrown when the length of the content decoded is greater than the allowed maximum.

public class
TooLongHttpHeaderException

An TooLongFrameException which is thrown when the length of the header decoded is greater than the allowed maximum.

public class
TooLongHttpLineException

An TooLongFrameException which is thrown when the length of the line decoded is greater than the allowed maximum.

Enum Summary

Modifier and TypeEnum and Description
public enum
HttpStatusClass

The class of HTTP status.