trait
EntityDecoder[F[_], T] extends AnyRef
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
-
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
flatMapR[T2](f: (T) ⇒ DecodeResult[F, T2])(implicit F: Monad[F]): EntityDecoder[F, T2]
-
final
def
getClass(): Class[_]
-
def
handleError(f: (DecodeFailure) ⇒ T)(implicit F: Functor[F]): EntityDecoder[F, T]
-
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[T2](f: (T) ⇒ T2)(implicit F: Functor[F]): EntityDecoder[F, T2]
-
def
matchesMediaType(mediaType: MediaType): Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
orElse[T2 >: T](other: EntityDecoder[F, T2])(implicit F: Functor[F]): EntityDecoder[F, T2]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
transform[T2](t: (Either[DecodeFailure, T]) ⇒ Either[DecodeFailure, T2])(implicit F: Functor[F]): EntityDecoder[F, T2]
-
def
transformWith[T2](f: (Either[DecodeFailure, T]) ⇒ DecodeResult[F, T2])(implicit F: Monad[F]): EntityDecoder[F, T2]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
widen[T2 >: T]: EntityDecoder[F, T2]
Inherited from AnyRef
Inherited from Any
A type that can be used to decode a Message EntityDecoder is used to attempt to decode a Message returning the entire resulting A. If an error occurs it will result in a failed effect. The default decoders provided here are not streaming, but one could implement a streaming decoder by having the value of A be some kind of streaming construct.
result type produced by the decoder