QueryParamDecoder

org.http4s.QueryParamDecoder
See theQueryParamDecoder companion object

Type class defining how to decode a QueryParameterValue into a T

Attributes

See also

QueryParamCodecLaws

Companion
object
Source
QueryParam.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait QueryParamCodec[T]
Self type

Members list

Value members

Abstract methods

Concrete methods

def emap[U](f: T => Either[ParseFailure, U]): QueryParamDecoder[U]

Validate the currently parsed value a function to Either[ParseFailure, *].

Validate the currently parsed value a function to Either[ParseFailure, *].

Attributes

Source
QueryParam.scala

Validate the currently parsed value using a function to ValidatedNel[ParseFailure, *].

Validate the currently parsed value using a function to ValidatedNel[ParseFailure, *].

Attributes

Source
QueryParam.scala
def map[U](f: T => U): QueryParamDecoder[U]

QueryParamDecoder is a covariant functor.

QueryParamDecoder is a covariant functor.

Attributes

Source
QueryParam.scala
def orElse[U >: T](qpd: QueryParamDecoder[U]): QueryParamDecoder[U]

Use another decoder if this one fails.

Use another decoder if this one fails.

Attributes

Source
QueryParam.scala