object Filter
- Alphabetic
- By Inheritance
- Filter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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.
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit def canStackFromFac[Req, Rep]: CanStackFrom[Filter[Req, Rep, Req, Rep], ServiceFactory[Req, Rep]]
- implicit def canStackFromSvc[Req, Rep]: CanStackFrom[Filter[Req, Rep, Req, Rep], Service[Req, Rep]]
-
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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
identity[Req, Rep]: SimpleFilter[Req, Rep]
Returns a Filter that does nothing beyond passing inputs through to the Service.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mk[ReqIn, RepOut, ReqOut, RepIn](f: (ReqIn, (ReqOut) ⇒ Future[RepIn]) ⇒ Future[RepOut]): Filter[ReqIn, RepOut, ReqOut, RepIn]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
typeAgnosticIdentity: TypeAgnostic
A pass-through TypeAgnostic that in turn uses a Filter.Identity for its implementation.
- implicit def typeAgnosticService[Req, Rep]: CanStackFrom[TypeAgnostic, Service[Req, Rep]]
- implicit def typeAgnosticServiceFactory[Req, Rep]: CanStackFrom[TypeAgnostic, ServiceFactory[Req, Rep]]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object TypeAgnostic