com.twitter.finagle.http

codec

package codec

Visibility
  1. Public
  2. All

Type Members

  1. case class AggregateHttpChunks(whenDone: LeftFoldUpstreamHandler, request: HttpRequest, bufferBudget: Int, buffer: ChannelBuffer = ChannelBuffers.EMPTY_BUFFER) extends LeftFoldUpstreamHandler with Product with Serializable

  2. class AggregateHttpRequest extends LeftFoldUpstreamHandler

  3. class AnnotateCipher extends SimpleChannelHandler

    Extract the cipher from the SslHandler and set it as a header on the HTTP request befor sending it upstream.

  4. class ChannelBufferManager extends SimpleChannelHandler

  5. class ChannelBufferUsageTracker extends AnyRef

  6. class ConnectionManager extends AnyRef

    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 elsewhere.

  7. class HttpClientDispatcher[Req <: HttpRequest] extends GenSerialClientDispatcher[Req, Response, Any, Any]

    Client dispatcher for HTTP.

    Client dispatcher for HTTP.

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

  8. class HttpServerDispatcher[REQUEST <: Request] extends GenSerialServerDispatcher[REQUEST, HttpResponse, Any, Any]

  9. class RequestEncoder extends SimpleChannelDownstreamHandler

    Convert Finagle-HTTP requests to Netty Requests

  10. class RespondToExpectContinue extends SimpleChannelUpstreamHandler

  11. class ResponseDecoder extends SimpleChannelHandler

    Convert Netty responses to a Finagle-HTTP responses

  12. class TextualContentCompressor extends HttpContentCompressor

    Custom compressor that only handles text-like content-types with the default compression level.

Value Members

  1. object HttpDtab

    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.

  2. object TextualContentCompressor

Ungrouped