Packages

c

com.twitter.finatra.http.modules

DarkTrafficFilterModule

abstract class DarkTrafficFilterModule extends TwitterModule

Linear Supertypes
TwitterModule, ScalaModule, InternalModule[Binder], TwitterBaseModule, TwitterModuleLifecycle, Logging, TwitterModuleFlags, AbstractModule, Module, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DarkTrafficFilterModule
  2. TwitterModule
  3. ScalaModule
  4. InternalModule
  5. TwitterBaseModule
  6. TwitterModuleLifecycle
  7. Logging
  8. TwitterModuleFlags
  9. AbstractModule
  10. Module
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DarkTrafficFilterModule()

Type Members

  1. class BindingBuilder[T] extends ScalaAnnotatedBindingBuilder[T]
    Definition Classes
    InternalModule

Abstract Value Members

  1. abstract def enableSampling(injector: Injector): (Request) => Boolean

    Function to determine if the request should be "sampled", e.g.

    Function to determine if the request should be "sampled", e.g. sent to the dark service.

    injector

    the com.twitter.inject.Injector for use in determining if a given request should be forwarded or not.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addError(arg0: Message): Unit
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  5. def addError(arg0: Throwable): Unit
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  6. def addError(arg0: String, arg1: <repeated...>[AnyRef]): Unit
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
    Annotations
    @transient()
  7. def addFlagConverter[T <: AnyRef](typeMatcher: Matcher[_ >: TypeLiteral[_]], F: Flaggable[T]): Unit
    Attributes
    protected
    Definition Classes
    TwitterModule
  8. def addFlagConverter[T <: AnyRef](implicit arg0: Manifest[T], F: Flaggable[T]): Unit
    Attributes
    protected
    Definition Classes
    TwitterModule
  9. def addTypeConverter[T](converter: TypeConverter)(implicit arg0: Manifest[T]): Unit
    Attributes
    protected
    Definition Classes
    TwitterModule
  10. def annotatedWith[A <: Annotation](implicit arg0: ClassTag[A]): Matcher[AnnotatedElement]
    Attributes
    protected[this]
    Definition Classes
    InternalModule
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def bind[T](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): BindingBuilder[T]
    Attributes
    protected[this]
    Definition Classes
    InternalModule
  13. def bind[T <: AnyRef](arg0: Class[T]): AnnotatedBindingBuilder[T]
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  14. def bind[T <: AnyRef](arg0: TypeLiteral[T]): AnnotatedBindingBuilder[T]
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  15. def bind[T <: AnyRef](arg0: Key[T]): LinkedBindingBuilder[T]
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  16. def bindAssistedFactory[T]()(implicit arg0: Manifest[T]): Unit
    Attributes
    protected
    Definition Classes
    TwitterModule
  17. def bindConstant(): AnnotatedConstantBindingBuilder
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  18. def bindInterceptor[I <: MethodInterceptor](classMatcher: Matcher[_ >: Class[_]], methodMatcher: Matcher[_ >: AnnotatedElement])(implicit arg0: ClassTag[I]): Unit
    Attributes
    protected[this]
    Definition Classes
    InternalModule
  19. def bindInterceptor(arg0: Matcher[_ >: Class[_ <: AnyRef] <: AnyRef], arg1: Matcher[_ >: Method <: AnyRef], arg2: <repeated...>[MethodInterceptor]): Unit
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
    Annotations
    @transient()
  20. def bindListener(arg0: Matcher[_ >: Binding[_ <: AnyRef] <: AnyRef], arg1: <repeated...>[ProvisionListener]): Unit
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
    Annotations
    @transient()
  21. def bindListener(arg0: Matcher[_ >: TypeLiteral[_ <: AnyRef] <: AnyRef], arg1: TypeListener): Unit
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  22. def bindMultiple[T](annotation: Annotation)(implicit arg0: Manifest[T]): ScalaMultibinder[T]
    Attributes
    protected
    Definition Classes
    TwitterModule
  23. def bindMultiple[T, A <: Annotation](implicit arg0: Manifest[T], arg1: Manifest[A]): ScalaMultibinder[T]
    Attributes
    protected
    Definition Classes
    TwitterModule
  24. def bindMultiple[T](implicit arg0: Manifest[T]): ScalaMultibinder[T]
    Attributes
    protected
    Definition Classes
    TwitterModule
  25. def bindOption[T](annotation: Annotation)(implicit arg0: Manifest[T]): ScalaOptionBinder[T]
    Attributes
    protected
    Definition Classes
    TwitterModule
  26. def bindOption[T, A <: Annotation](implicit arg0: Manifest[T], arg1: Manifest[A]): ScalaOptionBinder[T]
    Attributes
    protected
    Definition Classes
    TwitterModule
  27. def bindOption[T](implicit arg0: Manifest[T]): ScalaOptionBinder[T]
    Attributes
    protected
    Definition Classes
    TwitterModule
  28. def bindScope[T <: Annotation](scope: Scope)(implicit arg0: ClassTag[T]): Unit
    Attributes
    protected[this]
    Definition Classes
    InternalModule
  29. def bindScope(arg0: Class[_ <: Annotation], arg1: Scope): Unit
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  30. def binder(): Binder
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  31. def binderAccess: Binder
    Attributes
    protected[this]
    Definition Classes
    ScalaModule → InternalModule
  32. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  33. def configure(): Unit
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  34. final def configure(arg0: Binder): Unit
    Definition Classes
    AbstractModule → Module
  35. def configureHttpClient(injector: Injector, client: Client): Client

    Override to specify further configuration of the Finagle Http.Client.

    Override to specify further configuration of the Finagle Http.Client.

    injector

    the com.twitter.inject.Injector for use in configuring the underlying client.

    client

    the default configured Http.Client.

    returns

    a configured instance of the Http.Client

    Attributes
    protected
  36. def convertToTypes(arg0: Matcher[_ >: TypeLiteral[_ <: AnyRef] <: AnyRef], arg1: TypeConverter): Unit
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  37. final def createFlag[T](name: String, default: T, help: String, flaggable: Flaggable[T]): Flag[T]
    Definition Classes
    TwitterModuleFlags
  38. final def createMandatoryFlag[T](name: String, help: String, usage: String, flaggable: Flaggable[T]): Flag[T]
    Definition Classes
    TwitterModuleFlags
  39. def currentStage(): Stage
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  40. def debug(marker: Marker, message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  41. def debug(message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  42. def debug(marker: Marker, message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  43. def debug(message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  44. def debugResult[T](message: => String)(fn: => T): T
    Attributes
    protected[this]
    Definition Classes
    Logging
  45. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  46. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  47. def error(marker: Marker, message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  48. def error(message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  49. def error(marker: Marker, message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  50. def error(message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  51. def errorResult[T](message: => String)(fn: => T): T
    Attributes
    protected[this]
    Definition Classes
    Logging
  52. def failfastOnFlagsNotParsed: Boolean
    Attributes
    protected[this]
    Definition Classes
    TwitterModuleFlags
  53. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  54. final def flag[T](name: String, help: String)(implicit arg0: Flaggable[T], arg1: Manifest[T]): Flag[T]
    Definition Classes
    TwitterModuleFlags
  55. final def flag[T](name: String, default: T, help: String)(implicit arg0: Flaggable[T]): Flag[T]
    Definition Classes
    TwitterModuleFlags
  56. val flags: ArrayBuffer[Flag[_]]
    Attributes
    protected[inject]
    Definition Classes
    TwitterModuleFlags
  57. val forwardAfterService: Boolean

    Forward the dark request after the service has processed the request instead of concurrently.

  58. def frameworkModules: Seq[Module]
    Attributes
    protected[inject]
    Definition Classes
    TwitterBaseModule
  59. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  60. def getMembersInjector[T](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): MembersInjector[T]
    Attributes
    protected[this]
    Definition Classes
    InternalModule
  61. def getMembersInjector[T <: AnyRef](arg0: TypeLiteral[T]): MembersInjector[T]
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  62. def getMembersInjector[T <: AnyRef](arg0: Class[T]): MembersInjector[T]
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  63. def getProvider[T](implicit arg0: ClassTag[T]): Provider[T]
    Attributes
    protected[this]
    Definition Classes
    InternalModule
  64. def getProvider[T <: AnyRef](arg0: Class[T]): Provider[T]
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  65. def getProvider[T <: AnyRef](arg0: Key[T]): Provider[T]
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  66. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  67. def info(marker: Marker, message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  68. def info(message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  69. def info(marker: Marker, message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  70. def info(message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  71. def infoResult[T](message: => String)(fn: => T): T
    Attributes
    protected[this]
    Definition Classes
    Logging
  72. def install(module: Module): Unit
    Attributes
    protected
    Definition Classes
    TwitterModule → AbstractModule
    Annotations
    @throws(scala.this.throws.<init>$default$1[UnsupportedOperationException])
  73. def isDebugEnabled(marker: Marker): Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  74. def isDebugEnabled: Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  75. def isErrorEnabled(marker: Marker): Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  76. def isErrorEnabled: Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  77. def isInfoEnabled(marker: Marker): Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  78. def isInfoEnabled: Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  79. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  80. def isTraceEnabled(marker: Marker): Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  81. def isTraceEnabled: Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  82. def isWarnEnabled(marker: Marker): Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  83. def isWarnEnabled: Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  84. def javaModules: Collection[Module]
    Attributes
    protected[inject]
    Definition Classes
    TwitterBaseModule
  85. val label: String

    Name of dark service client for use in metrics.

    Name of dark service client for use in metrics.

    Attributes
    protected
  86. final def logger: Logger
    Attributes
    protected[this]
    Definition Classes
    Logging
  87. final def loggerName: String
    Attributes
    protected[this]
    Definition Classes
    Logging
  88. def modules: Seq[Module]
    Attributes
    protected[inject]
    Definition Classes
    TwitterBaseModule
  89. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  90. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  91. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  92. def onExit(f: => Unit): Unit
    Attributes
    protected
    Definition Classes
    TwitterModuleLifecycle
  93. final def provideCanonicalResourceFilter: Filter[Request, Response, Request, Response]

    Provides a filter to add the Canonical-Resource header which is used by Diffy Proxy

    Provides a filter to add the Canonical-Resource header which is used by Diffy Proxy

    Annotations
    @Provides() @Singleton() @CanonicalResourceFilter()
    See also

    Diffy Project

  94. final def provideDarkTrafficFilter(injector: Injector, statsReceiver: StatsReceiver, canonicalResourceFilter: Filter[Request, Response, Request, Response], service: Option[Service[Request, Response]]): Filter[Request, Response, Request, Response]
    Annotations
    @Provides() @Singleton() @DarkTrafficFilterType()
  95. final def provideDarkTrafficService(injector: Injector, statsReceiver: StatsReceiver): Option[Service[Request, Response]]
    Annotations
    @Provides() @Singleton() @DarkTrafficService()
  96. def requestInjection(arg0: AnyRef): Unit
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  97. def requestStaticInjection[T]()(implicit arg0: ClassTag[T]): Unit
    Attributes
    protected[this]
    Definition Classes
    InternalModule
  98. def requestStaticInjection(arg0: <repeated...>[Class[_ <: AnyRef]]): Unit
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
    Annotations
    @transient()
  99. def requireBinding(arg0: Class[_ <: AnyRef]): Unit
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  100. def requireBinding(arg0: Key[_ <: AnyRef]): Unit
    Attributes
    protected[google.inject]
    Definition Classes
    AbstractModule
  101. def singletonPostWarmupComplete(injector: Injector): Unit
    Attributes
    protected[inject]
    Definition Classes
    TwitterModuleLifecycle
  102. def singletonShutdown(injector: Injector): Unit
    Attributes
    protected[inject]
    Definition Classes
    TwitterModuleLifecycle
  103. def singletonStartup(injector: Injector): Unit
    Attributes
    protected[inject]
    Definition Classes
    TwitterModuleLifecycle
  104. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  105. def toString(): String
    Definition Classes
    AnyRef → Any
  106. def trace(marker: Marker, message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  107. def trace(message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  108. def trace(marker: Marker, message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  109. def trace(message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  110. def traceResult[T](message: => String)(fn: => T): T
    Attributes
    protected[this]
    Definition Classes
    Logging
  111. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  112. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  113. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  114. def warn(marker: Marker, message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  115. def warn(message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  116. def warn(marker: Marker, message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  117. def warn(message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  118. def warnResult[T](message: => String)(fn: => T): T
    Attributes
    protected[this]
    Definition Classes
    Logging

Inherited from TwitterModule

Inherited from ScalaModule

Inherited from InternalModule[Binder]

Inherited from TwitterBaseModule

Inherited from TwitterModuleLifecycle

Inherited from Logging

Inherited from TwitterModuleFlags

Inherited from AbstractModule

Inherited from Module

Inherited from AnyRef

Inherited from Any

Ungrouped