Add controller used for all requests for usage from Java.
Add controller used for all requests for usage from Java. The ThriftRouter only supports a
single controller, so add
may only be called once.
We do not apply filters per-method but instead all filters are applied across the service. thus "per-method" metrics will be scoped to the controller name (Class#getSimpleName).
the user guide
Add controller used for all requests for usage from Java.
Add controller used for all requests for usage from Java. The ThriftRouter only supports
a single controller, so add
may only be called once.
the user guide
Ensures that configuring a controller happens only once and provides a consistent message
Ensures that configuring a controller happens only once and provides a consistent message
Add exception mapper used for the corresponding exceptions.
Add exception mapper used for the corresponding exceptions.
the user guide
Add exception mapper used for the corresponding exceptions.
Add exception mapper used for the corresponding exceptions.
the user guide
Add exception mapper used for the corresponding exceptions.
Add exception mapper used for the corresponding exceptions.
the user guide
Add global filter used for all requests.
Add global filter used for all requests.
The filter is appended after other Filters
that have already been added
via filter
.
The user guide
Add global filter used for all requests.
Add global filter used for all requests.
The filter is appended after other Filters
that have already been added
via filter
.
The user guide
Add global filter used for all requests that are annotated with Annotation Type.
Add global filter used for all requests that are annotated with Annotation Type.
The filter is appended after other Filters
that have already been added
via filter
.
The user guide
Add global filter used for all requests.
Add global filter used for all requests.
The filter is appended after other Filters
that have already been added
via filter
.
The user guide
Ensure that f
is only run after a controller has been configured
Ensure that f
is only run after a controller has been configured
Ensure that f
is only run prior to configuring a controller and setting up a thrift service.
Ensure that f
is only run prior to configuring a controller and setting up a thrift service.
Builds a com.twitter.finagle.Service.
A ThriftRouter specifically for use with generated Java code. Users of generated Scala code should use the com.twitter.finatra.thrift.routing.ThriftRouter directly.
routing over Java generated code DOES NOT support per-method stats since the generated Java code does not yet support "service-per-method".
com.twitter.finatra.thrift.routing.BaseThriftRouter
com.twitter.finatra.thrift.routing.ThriftRouter