package filters
Type Members
-
class
ThriftClientFilterBuilder extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 2018-01-12) Use ThriftMethodBuilderClientModule and ThriftMethodBuilder
-
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
filterChainis 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.service.ThriftServicePerEndpoint