Packages

package filters

Type Members

  1. class ThriftClientFilterBuilder extends AnyRef
    Annotations
    @deprecated
    Deprecated

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

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

    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.inject.thrift.filters.ThriftClientFilterBuilder

    com.twitter.finagle.thrift.service.ThriftServicePerEndpoint

Ungrouped