Package

com.twitter.finatra.thrift

modules

Permalink

package modules

Visibility
  1. Public
  2. All

Type Members

  1. abstract class DarkTrafficFilterModule[ServiceIface <: Filterable[ServiceIface]] extends AbstractDarkTrafficFilterModule

    Permalink

    A TwitterModule which configures and binds a DarkTrafficFilter to the object graph, for use with Controllers constructed using the legacy method.

    A TwitterModule which configures and binds a DarkTrafficFilter to the object graph, for use with Controllers constructed using the legacy method.

    Note

    This is only applicable in Scala as it uses generated Scala classes and expects to configure the DarkTrafficFilter over a com.twitter.finagle.Service that is generated from Finagle via generated Scala code. Users of generated Java code should use the JavaDarkTrafficFilterModule.

    ,

    This DarkTrafficFilter module is to be used with Controllers which are constructed using the deprecated method of extending the BaseServiceIface of the generated Thrift service. For services that construct their Controllers by extending Controller(GeneratedThriftService), use the ReqRepDarkTrafficFilter instead

  2. abstract class JavaDarkTrafficFilterModule extends AbstractDarkTrafficFilterModule

    Permalink

    A TwitterModule which configures and binds a JavaDarkTrafficFilter to the object graph.

    A TwitterModule which configures and binds a JavaDarkTrafficFilter to the object graph.

    Note

    This is only applicable with code that uses generated Java classes as it expects to configure the JavaDarkTrafficFilter over a com.twitter.finagle.Service that is generated from Finagle via generated Java code. Users of generated Scala code should use the DarkTrafficFilterModule.

  3. abstract class ReqRepDarkTrafficFilterModule[MethodIface <: Filterable[MethodIface]] extends AbstractDarkTrafficFilterModule

    Permalink

    A TwitterModule which configures and binds a DarkTrafficFilter to the object graph.

    A TwitterModule which configures and binds a DarkTrafficFilter to the object graph.

    Note

    This is only applicable in Scala as it uses generated Scala classes and expects to configure the DarkTrafficFilter over a com.twitter.finagle.Service that is generated from Finagle via generated Scala code. Users of generated Java code should use the JavaDarkTrafficFilterModule.

    ,

    This DarkTrafficFilter module is to be used with Controllers which are constructed by extending Controller(GeneratedThriftService). For Controllers that are constructed using the deprecated method of extending Controller with GeneratedThriftService.BaseServiceIface, Use the DarkTrafficFilterModule above.

Value Members

  1. object ThriftResponseClassifierModule extends TwitterModule

    Permalink

Ungrouped