object &

Convenient extractor allowing to apply two extractors. Example of use:

request match {
  case Accepts.Json() & Accepts.Html() => "This request accepts both JSON and HTML"
}
Source
RequestExtractors.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. &
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def unapply(request: RequestHeader): Option[(, RequestHeader)]