abstract class QueryParamMatcher[T] extends QueryParamDecoderMatcher[T]
param extractor using QueryParamDecoder:
case class Foo(i: Int) implicit val fooDecoder: QueryParamDecoder[Foo] = ... implicit val fooParam: QueryParam[Foo] = ... object FooMatcher extends QueryParamDecoderMatcher[Foo] val routes = HttpRoutes.of { case GET -> Root / "closest" :? FooMatcher(2) => ...
- Source
- Path.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- QueryParamMatcher
- QueryParamDecoderMatcher
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new QueryParamMatcher()(implicit arg0: QueryParamDecoder[T], arg1: QueryParam[T])
Value Members
-
def
unapply(params: Map[String, Seq[String]]): Option[T]
- Definition Classes
- QueryParamDecoderMatcher
-
def
unapplySeq(params: Map[String, Seq[String]]): Option[Seq[T]]
- Definition Classes
- QueryParamDecoderMatcher