Package

com.twitter.finagle.buoyant.h2

netty4

Permalink

package netty4

Visibility
  1. Public
  2. All

Type Members

  1. class Netty4ClientDispatcher extends Service[Request, Response] with Netty4DispatcherBase[Request, Response]

    Permalink

    A dispatcher that exposes a Service[Request, Response].

    A dispatcher that exposes a Service[Request, Response].

    Requests are issued onto the dispatcher to be written on a (new) remote stream, and the response is returned and streamed upstream from the remote.

  2. trait Netty4DispatcherBase[SendMsg <: Message, RecvMsg <: Message] extends AnyRef

    Permalink
  3. class Netty4ServerDispatcher extends Netty4DispatcherBase[Response, Request] with Closable

    Permalink

    A dispatcher that accepts requests from the upstream remote, serves them through a downstream service, and writes the response back to the upstream remote.

  4. class ServerUpgradeHandler extends ChannelDuplexHandler

    Permalink

    Accept either H2C requests (beginning with a Connection preface) or HTTP requests with h2c protocol upgrading.

Value Members

  1. object ConnectionHeaders

    Permalink

    Detect connection-headers in accordance with RFC 7540 §8.1.2.2:

    Detect connection-headers in accordance with RFC 7540 §8.1.2.2:

    HTTP/2 does not use the Connection header field to indicate connection-specific header fields; in this protocol, connection-specific metadata is conveyed by other means. An endpoint MUST NOT generate an HTTP/2 message containing connection-specific header fields; any message containing connection-specific header fields MUST be treated as malformed (Section 8.1.2.6).

    The only exception to this is the TE header field, which MAY be present in an HTTP/2 request; when it is, it MUST NOT contain any value other than "trailers".

    This means that an intermediary transforming an HTTP/1.x message to HTTP/2 will need to remove any header fields nominated by the Connection header field, along with the Connection header field itself. Such intermediaries SHOULD also remove other connection-specific header fields, such as Keep-Alive, Proxy-Connection, Transfer-Encoding, and Upgrade, even if they are not nominated by the Connection header field.

  2. object Netty4ClientDispatcher

    Permalink
  3. object Netty4H2Listener

    Permalink

    Based on com.twitter.finagle.http2.Http2Listener

  4. object Netty4H2Settings

    Permalink
  5. object Netty4H2Transporter

    Permalink
  6. object Netty4ServerDispatcher

    Permalink
  7. object Netty4StreamTransport

    Permalink
  8. object ServerUpgradeHandler

    Permalink

Ungrouped