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.
Request type for this filter chain
Response type for this filter chain
(Since version 2018-01-12) Use ThriftMethodBuilderClientModule and ThriftMethodBuilder
com.twitter.finagle.thrift.ThriftServiceIface
(Since version 2018-01-12) Use ThriftMethodBuilderClientModule and ThriftMethodBuilder