trait QueryParamCodec[T] extends QueryParamEncoder[T] with QueryParamDecoder[T]
- Source
- QueryParam.scala
- Alphabetic
- By Inheritance
- QueryParamCodec
- QueryParamDecoder
- QueryParamEncoder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
decode(value: QueryParameterValue): ValidatedNel[ParseFailure, T]
- Definition Classes
- QueryParamDecoder
-
abstract
def
encode(value: T): QueryParameterValue
- Definition Classes
- QueryParamEncoder
Concrete Value Members
-
def
contramap[U](f: (U) ⇒ T): QueryParamEncoder[U]
QueryParamEncoder is a contravariant functor.
QueryParamEncoder is a contravariant functor.
- Definition Classes
- QueryParamEncoder
-
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, *].
- Definition Classes
- QueryParamDecoder
-
def
emapValidatedNel[U](f: (T) ⇒ ValidatedNel[ParseFailure, U]): QueryParamDecoder[U]
Validate the currently parsed value using a function to ValidatedNel[ParseFailure, *].
Validate the currently parsed value using a function to ValidatedNel[ParseFailure, *].
- Definition Classes
- QueryParamDecoder
-
def
map[U](f: (T) ⇒ U): QueryParamDecoder[U]
QueryParamDecoder is a covariant functor.
QueryParamDecoder is a covariant functor.
- Definition Classes
- QueryParamDecoder
-
def
orElse[U >: T](qpd: QueryParamDecoder[U]): QueryParamDecoder[U]
Use another decoder if this one fails.
Use another decoder if this one fails.
- Definition Classes
- QueryParamDecoder