Package

com.twitter.finagle.httpx

codec

Permalink

package codec

Visibility
  1. Public
  2. All

Type Members

  1. class ChannelBufferUsageTracker extends AnyRef

    Permalink

    ChannelBufferUsageTracker tracks the channel buffer used by outstanding requests.

    ChannelBufferUsageTracker tracks the channel buffer used by outstanding requests. An exception will be thrown if the total size exceeds a limit. ChannelBufferManager uses ChannelBufferUsageTracker.

  2. class ConnectionManager extends AnyRef

    Permalink

    The HTTP connection manager implements connection management in accordance with RFC 2616 § 8.

    The HTTP connection manager implements connection management in accordance with RFC 2616 § 8. This is just the state machine: the codec implementations are in {Server,Client}ConnectionManager.

  3. class HttpClientDispatcher extends GenSerialClientDispatcher[Request, Response, Any, Any]

    Permalink

    Client dispatcher for HTTP.

    Client dispatcher for HTTP.

    The dispatcher modifies each request with Dtab encoding and streams chunked responses via Reader.

  4. class HttpServerDispatcher extends GenSerialServerDispatcher[Request, Response, Any, Any]

    Permalink

Value Members

  1. object HttpDtab

    Permalink

    Dtab serialization for Http.

    Dtab serialization for Http. Dtabs are encoded into Http headers with keys x-dtab-$idx-(a|b) where $idx is a two-digit integer. These headers are encoded in pairs: 'a' and 'b' headers must exist for each index. Thus when header names are lexically sorted, Dtab entries are decoded pairwise. 'a' denoting prefix, 'b' destination.

    Header values are base64-encoded ("standard" alphabet) Utf8 strings.

Ungrouped