Package

com.twitter.inject

requestscope

Permalink

package requestscope

Visibility
  1. Public
  2. All

Type Members

  1. class FinagleRequestScope extends Scope with Logging

    Permalink

    A Guice Custom Scope implemented with com.twitter.util.Local to mimic the behavior of the '@RequestScoped' scope using com.twitter.util.Local to work within the context of com.twitter.util.Futures.

    A Guice Custom Scope implemented with com.twitter.util.Local to mimic the behavior of the '@RequestScoped' scope using com.twitter.util.Local to work within the context of com.twitter.util.Futures.

    Note

    It is expected that users use this in combination with the typed FinagleRequestScopeFilter or the type agnostic FinagleRequestScopeFilter.TypeAgnostic.

    See also

    ThriftServer Request Scoping

    HttpServer Request Scoping

    Guice Custom Scopes

    Guice Scopes

  2. class FinagleRequestScopeFilter[Req, Rep] extends Filter[Req, Rep, Req, Rep]

    Permalink

    A com.twitter.finagle.Filter which is responsible for preparing scoping of the custom com.twitter.inject.requestscope.FinagleRequestScope around this Filter's underlying com.twitter.finagle.Service.

    A com.twitter.finagle.Filter which is responsible for preparing scoping of the custom com.twitter.inject.requestscope.FinagleRequestScope around this Filter's underlying com.twitter.finagle.Service.

    Note

    if you wish to use a com.twitter.finagle.Filter.TypeAgnostic version of this Filter, please see the com.twitter.inject.requestscope.FinagleRequestScopeFilter.TypeAgnostic

  3. class FinagleRequestScoped extends Annotation with Annotation with ClassfileAnnotation

    Permalink
  4. trait RequestScopeBinding extends TwitterModule

    Permalink
  5. class UnseededFinagleScopeProvider[T] extends Provider[T]

    Permalink

Ungrouped