Members

Typealiases

Enumerations

Structures

Classes

  • class HTTPDecoder

    A ChannelInboundHandler that parses HTTP/1-style messages, converting them from unstructured bytes to a sequence of HTTP messages.

  • class HTTPRequestEncoder

    A ChannelOutboundHandler that can serialize HTTP requests.

  • class HTTPResponseEncoder

    A ChannelOutboundHandler that can serialize HTTP responses.

  • class HTTPServerPipelineHandler

    A ChannelHandler that handles HTTP pipelining by buffering inbound data until a response has been sent.

  • class HTTPServerProtocolErrorHandler

    A simple channel handler that catches errors emitted by parsing HTTP requests and sends 400 Bad Request responses.

  • class HTTPServerUpgradeHandler

    A server-side channel handler that receives HTTP requests and optionally performs a HTTP-upgrade. Removes itself from the channel pipeline after the first inbound request on the connection, regardless of whether the upgrade succeeded or not.

  • class NIOHTTPClientResponseAggregator

    A ChannelInboundHandler that handles HTTP chunked HTTPClientResponsePart messages by aggregating individual message chunks into a single NIOHTTPClientResponseFull.

  • class NIOHTTPClientUpgradeHandler

    A client-side channel handler that sends a HTTP upgrade handshake request to perform a HTTP-upgrade. When the first HTTP request is sent, this handler will add all appropriate headers to perform an upgrade to the a protocol. It may add headers for a set of protocols in preference order. If the upgrade fails (i.e. response is not 101 Switching Protocols), this handler simply removes itself from the pipeline. If the upgrade is successful, it upgrades the pipeline to the new protocol.

  • class NIOHTTPServerRequestAggregator

    A ChannelInboundHandler that handles HTTP chunked HTTPServerRequestPart messages by aggregating individual message chunks into a single NIOHTTPServerRequestFull.

Protocols

  • protocol HTTPServerProtocolUpgrader

    An object that implements HTTPServerProtocolUpgrader knows how to handle HTTP upgrade to a protocol on a server-side channel.

  • protocol NIOHTTPClientProtocolUpgrader

    An object that implements NIOHTTPClientProtocolUpgrader knows how to handle HTTP upgrade to a protocol on a client-side channel. It has the option of denying this upgrade based upon the server response.

Removed Members

Typealiases