t
de.heikoseeberger.akkahttpcirce
ErrorAccumulatingCirceSupport
Companion object ErrorAccumulatingCirceSupport
trait ErrorAccumulatingCirceSupport extends BaseCirceSupport with ErrorAccumulatingUnmarshaller
Automatic to and from JSON marshalling/unmarshalling using an in-scope circe protocol.
The unmarshaller accumulates all errors in the exception Errors.
To use automatic codec derivation import io.circe.generic.auto._.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ErrorAccumulatingCirceSupport
- ErrorAccumulatingUnmarshaller
- BaseCirceSupport
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type SourceOf[A] = Source[A, _]
- Definition Classes
- BaseCirceSupport
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def byteStringJsonUnmarshaller: Unmarshaller[ByteString, Json]
- Definition Classes
- BaseCirceSupport
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit final def fromByteStringUnmarshaller[A](implicit arg0: Decoder[A]): Unmarshaller[ByteString, A]
- Definition Classes
- ErrorAccumulatingUnmarshaller
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit final def jsonMarshaller(implicit printer: Printer = Printer.noSpaces): ToEntityMarshaller[Json]
Json=> HTTP entity - implicit final val jsonUnmarshaller: FromEntityUnmarshaller[Json]
HTTP entity =>
Json - implicit final def marshaller[A](implicit arg0: Encoder[A], printer: Printer = Printer.noSpaces): ToEntityMarshaller[A]
A=> HTTP entity - def mediaTypes: Seq[WithFixedCharset]
- Definition Classes
- BaseCirceSupport
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit final val safeJsonUnmarshaller: FromEntityUnmarshaller[Either[ParsingFailure, Json]]
HTTP entity =>
Either[io.circe.ParsingFailure, Json]HTTP entity =>
Either[io.circe.ParsingFailure, Json]- returns
unmarshaller for
Either[io.circe.ParsingFailure, Json]
- Definition Classes
- BaseCirceSupport
- implicit final def safeUnmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[ValidatedNel[Error, A]]
- Definition Classes
- ErrorAccumulatingUnmarshaller
- implicit def sourceMarshaller[A](implicit writes: Encoder[A], printer: Printer = Printer.noSpaces, support: JsonEntityStreamingSupport = EntityStreamingSupport.json()): ToEntityMarshaller[SourceOf[A]]
SourceOf[A]=> HTTP entitySourceOf[A]=> HTTP entity- A
type to encode
- returns
marshaller for any
SourceOf[A]value
- Definition Classes
- BaseCirceSupport
- implicit def sourceUnmarshaller[A](implicit arg0: Decoder[A], support: JsonEntityStreamingSupport = EntityStreamingSupport.json()): FromEntityUnmarshaller[SourceOf[A]]
HTTP entity =>
Source[A, _]HTTP entity =>
Source[A, _]- A
type to decode
- returns
unmarshaller for
Source[A, _]
- Definition Classes
- BaseCirceSupport
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit final def unmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]
- Definition Classes
- ErrorAccumulatingUnmarshaller
- def unmarshallerContentTypes: Seq[ContentTypeRange]
- Definition Classes
- BaseCirceSupport
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()