AgentExtractor

trait AgentExtractor extends HttpRequest[] => Boolean
AgentExtractor instances provide a predicate (HttpRequest[_] => Boolean)
for ad-hoc tests, a standard Unfiltered request extractor, and a means
for composing simple extractors into more complex ones.
trait HttpRequest[] => Boolean
class Object
trait Matchable
class Any

Value members

Methods

Composition (f.g).
def apply(req: HttpRequest[]): Boolean
def unapply[A](req: HttpRequest[A]): Option[Some[HttpRequest[A]]]

Fields

val test: String => Boolean
Predicate for an agent string.

Inherited methods

@unspecialized
def compose[A](g: A => T1): A => R
Inhertied from
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inhertied from
Function1
@unspecialized
def andThen[A](g: R => A): T1 => A
Inhertied from
Function1