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.
Type parameters
- T
-
result type produced by the decoder
Attributes
- Companion
- object
- Source
- EntityDecoder.scala
- Graph
-
- Supertypes
- Self type
-
Members list
Value members
Abstract methods
The MediaRanges this EntityDecoder knows how to handle
Attempt to decode the body of the Message
Concrete methods
Attributes
- Source
- EntityDecoder.scala
Attributes
- Source
- EntityDecoder.scala
Attributes
- Source
- EntityDecoder.scala
Attributes
- Source
- EntityDecoder.scala
Attributes
- Source
- EntityDecoder.scala
Make a new EntityDecoder by mapping the output result
true if this EntityDecoder knows how to decode the provided MediaType
true if this EntityDecoder knows how to decode the provided MediaType
Attributes
- Source
- EntityDecoder.scala
Combine two EntityDecoder's
Combine two EntityDecoder's
The new EntityDecoder will first attempt to determine if it can perform the decode, and if not, defer to the second EntityDecoder
Value parameters
- other
-
backup EntityDecoder
Attributes
- Source
- EntityDecoder.scala
Attributes
- Source
- EntityDecoder.scala
Attributes
- Source
- EntityDecoder.scala
Attributes
- Source
- EntityDecoder.scala