QueryParamDecoderMatcherWithDefault

org.http4s.dsl.impl.QueryParamDecoderMatcherWithDefault
abstract class QueryParamDecoderMatcherWithDefault[T](name: String, default: T)(implicit evidence$6: QueryParamDecoder[T])

A param extractor with a default value. If the query param is not present, the default value is returned If the query param is present but incorrectly formatted, will return None

Attributes

Source:
Path.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete methods

def unapply(params: Map[String, Seq[String]]): Option[T]

Attributes

Source:
Path.scala