Package

com.twitter.inject.thrift

filters

Permalink

package filters

Visibility
  1. Public
  2. All

Type Members

  1. class ThriftClientFilterBuilder extends AnyRef

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2018-01-12) Use ThriftMethodBuilderClientModule and ThriftMethodBuilder

  2. class ThriftClientFilterChain[Req <: ThriftStruct, Rep] extends Logging

    Permalink

    A com.twitter.finagle.Filter chain builder which provides helper functions for installing and configuring common filters.

    A com.twitter.finagle.Filter chain builder which provides helper functions for installing and configuring common filters.

    Filters configured via the helper methods, e.g., withRetryPolicy, withTimeout, withRequestTimeout, withMethodLatency, withExceptionFilter, will be composed in a specific order, (from top-down, assuming requests/responses enter and exit through the top):

    +------------------------+ | latencyFilter | +------------------------+ | exceptionFilter | +------------------------+ | timeoutFilter | +------------------------+ | retryFilter | +------------------------+ | requestTimeoutFilter | +------------------------+ | concurrencyLimitFilter | +------------------------+ | filterChain | +------------------------+

    where, the filterChain is the chain of filters added in the order of calls to filtered.

    Req

    Request type for this filter chain

    Rep

    Response type for this filter chain

    Annotations
    @deprecated
    Deprecated

    (Since version 2018-01-12) Use ThriftMethodBuilderClientModule and ThriftMethodBuilder

    See also

    com.twitter.finagle.thrift.ThriftServiceIface

    com.twitter.inject.thrift.filters.ThriftClientFilterBuilder

Ungrouped