Packages

object Filter

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Filter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class OneTime extends TypeAgnostic

    OneTime is a TypeAgnostic filter that can be materialized exactly once.

    OneTime is a TypeAgnostic filter that can be materialized exactly once. This provides a simple way to create the most commonly used kind of TypeAgnostic filters while ensuring that the apply method is not shared.

  2. abstract class TypeAgnostic extends AnyRef

    TypeAgnostic filters are like SimpleFilters but they leave the Rep and Req types unspecified until toFilter is called.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. implicit def canStackFromFac[Req, Rep]: CanStackFrom[Filter[Req, Rep, Req, Rep], ServiceFactory[Req, Rep]]
  6. implicit def canStackFromSvc[Req, Rep]: CanStackFrom[Filter[Req, Rep, Req, Rep], Service[Req, Rep]]
  7. def choose[Req, Rep](pf: PartialFunction[Req, Filter[Req, Rep, Req, Rep]]): Filter[Req, Rep, Req, Rep]

    Chooses a filter to apply based on incoming requests.

    Chooses a filter to apply based on incoming requests. If the given partial function is not defined at the request, then the request goes directly to the next service.

    pf

    a partial function mapping requests to Filters that should be applied

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def identity[Req, Rep]: SimpleFilter[Req, Rep]

    Returns a Filter that does nothing beyond passing inputs through to the Service.

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def mk[ReqIn, RepOut, ReqOut, RepIn](f: (ReqIn, (ReqOut) ⇒ Future[RepIn]) ⇒ Future[RepOut]): Filter[ReqIn, RepOut, ReqOut, RepIn]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def typeAgnosticIdentity: TypeAgnostic

    A pass-through TypeAgnostic that in turn uses a Filter.Identity for its implementation.

  23. implicit def typeAgnosticService[Req, Rep]: CanStackFrom[TypeAgnostic, Service[Req, Rep]]
  24. implicit def typeAgnosticServiceFactory[Req, Rep]: CanStackFrom[TypeAgnostic, ServiceFactory[Req, Rep]]
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. object TypeAgnostic

Inherited from AnyRef

Inherited from Any

Ungrouped