Install a com.twitter.finagle.Filter.
Install a com.twitter.finagle.Filter. This filter will be added to the end of the filter chain. That is, this filter will be invoked AFTER any other installed filter on a request Req and thus BEFORE any other installed filter on a response Rep.
Filter subtype of the filter to instantiate from the injector
Install a com.twitter.finagle.Filter.
Install a com.twitter.finagle.Filter. This filter will be added to the end of the filter chain. That is, this filter will be invoked AFTER any other installed filter on a request Req and thus BEFORE any other installed filter on a response Rep.
the com.twitter.finagle.Filter to install.
Tunable[Double])
Double)
com.twitter.finagle.thriftmux.MethodBuilder.nonIdempotent
Method-specific Filters are 'outside' of TypeAgnostic *and* the MethodBuilder filters
Method-specific Filters are 'outside' of TypeAgnostic *and* the MethodBuilder filters
The layer of indirection via the AndThenService
is to allow for implementations that may wish
to intercept the invocation of the service.
a com.twitter.finagle.Service configured from the applied MethodBuilder configuration and filters.
Install a com.twitter.finagle.Filter.TypeAgnostic that is agnostic to the ThriftMethod Req/Rep types.
Install a com.twitter.finagle.Filter.TypeAgnostic that is agnostic to the ThriftMethod Req/Rep types. This allows for use of more general filters that do not care about the ThriftMethod input and output types.
Filter.TypeAgnostic subtype of the filter to instantiate from the injector
Install a com.twitter.finagle.Filter that is agnostic to the ThriftMethod Req/Rep types.
Install a com.twitter.finagle.Filter that is agnostic to the ThriftMethod Req/Rep types. This allows for use of more general filters that do not care about the ThriftMethod input and output types.
the com.twitter.finagle.Filter.TypeAgnostic to install.
Install a com.twitter.finagle.Filter specific to handling exceptions.
Install a com.twitter.finagle.Filter specific to handling exceptions. This filter will be correctly positioned in the filter chain near the top of the stack. This filter is generally used to mutate or alter the final response Rep based on a returned exception. E.g., to translate a transport-level exception from Finagle to an application-level exception.
the type of the filter to instantiate from the injector
Install a com.twitter.finagle.Filter specific to handling exceptions.
Install a com.twitter.finagle.Filter specific to handling exceptions. This filter will be correctly positioned in the filter chain near the top of the stack. This filter is generally used to mutate or alter the final response Rep based on a returned exception. E.g., to translate a transport-level exception from Finagle to an application-level exception.
the com.twitter.finagle.Filter to install.
com.twitter.finagle.thriftmux.MethodBuilder.withRetryDisabled
ResponseClassifier)
Tunable[Duration])
Duration)
Tunable[Duration])
Duration)
Provides
ThriftMethod
-specific MethodBuilder functionality.