ErrorAccumulatingUnmarshaller

com.github.pjfanning.pekkohttpjsoniterscalacirce.ErrorAccumulatingUnmarshaller
trait ErrorAccumulatingUnmarshaller extends ErrorAccumulatingSupport

Mix-in this trait to accumulate all errors during unmarshalling.

Attributes

Graph
Supertypes
trait ErrorAccumulatingSupport
trait BaseSupport
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Inherited types

type SourceOf[A] = Source[A, _]

Attributes

Inherited from:
BaseSupport

Value members

Inherited methods

protected def jsonSource[A](entitySource: SourceOf[A])(implicit encoder: Encoder[A], printer: Printer, support: JsonEntityStreamingSupport): SourceOf[ByteString]

Attributes

Inherited from:
BaseSupport
def mediaTypes: Seq[WithFixedCharset]

Attributes

Inherited from:
BaseSupport
protected def sourceByteStringMarshaller(mediaType: WithFixedCharset): Marshaller[SourceOf[ByteString], MessageEntity]

Attributes

Inherited from:
BaseSupport
def unmarshallerContentTypes: Seq[ContentTypeRange]

Attributes

Inherited from:
BaseSupport

Inherited and Abstract methods

def byteStringJsonUnmarshaller: Unmarshaller[ByteString, Json]

Attributes

Inherited from:
BaseSupport

Inherited fields

protected val defaultMediaTypes: Seq[WithFixedCharset]

Attributes

Inherited from:
BaseSupport
protected val jsonSourceStringMarshaller: Marshaller[SourceOf[ByteString], RequestEntity]

Attributes

Inherited from:
BaseSupport

Implicits

Inherited implicits

final implicit override def fromByteStringUnmarshaller[A : Decoder]: Unmarshaller[ByteString, A]

ByteString => A

ByteString => A

Type parameters

A

type to decode

Attributes

Returns

unmarshaller for any A value

Definition Classes
ErrorAccumulatingSupport -> BaseSupport
Inherited from:
ErrorAccumulatingSupport
final implicit def jsonMarshaller(implicit printer: Printer): ToEntityMarshaller[Json]

Json => HTTP entity

Json => HTTP entity

Attributes

Returns

marshaller for JSON value

Inherited from:
BaseSupport
final implicit def marshaller[A : Encoder](implicit evidence$1: Encoder[A], printer: Printer): ToEntityMarshaller[A]

A => HTTP entity

A => HTTP entity

Type parameters

A

type to encode

Attributes

Returns

marshaller for any A value

Inherited from:
BaseSupport
final implicit def safeUnmarshaller[A : Decoder]: FromEntityUnmarshaller[ValidatedNel[Error, A]]

Attributes

Inherited from:
ErrorAccumulatingSupport
implicit def sourceMarshaller[A](implicit writes: Encoder[A], printer: Printer, support: JsonEntityStreamingSupport): ToEntityMarshaller[SourceOf[A]]

SourceOf[A] => HTTP entity

SourceOf[A] => HTTP entity

Type parameters

A

type to encode

Attributes

Returns

marshaller for any SourceOf[A] value

Inherited from:
BaseSupport
implicit def sourceUnmarshaller[A : Decoder](implicit evidence$1: Decoder[A], support: JsonEntityStreamingSupport): FromEntityUnmarshaller[SourceOf[A]]

HTTP entity => Source[A, _]

HTTP entity => Source[A, _]

Type parameters

A

type to decode

Attributes

Returns

unmarshaller for Source[A, _]

Inherited from:
BaseSupport
final implicit override def unmarshaller[A : Decoder]: FromEntityUnmarshaller[A]

HTTP entity => A

HTTP entity => A

Type parameters

A

type to decode

Attributes

Returns

unmarshaller for A

Definition Classes
ErrorAccumulatingSupport -> BaseSupport
Inherited from:
ErrorAccumulatingSupport

Inherited and Abstract implicits

implicit def jsonUnmarshaller: FromEntityUnmarshaller[Json]

HTTP entity => Json

HTTP entity => Json

Attributes

Returns

unmarshaller for Json

Inherited from:
BaseSupport
implicit def safeJsonUnmarshaller: FromEntityUnmarshaller[Either[ParsingFailure, Json]]

HTTP entity => Either[io.circe.ParsingFailure, Json]

HTTP entity => Either[io.circe.ParsingFailure, Json]

Attributes

Returns

unmarshaller for Either[io.circe.ParsingFailure, Json]

Inherited from:
BaseSupport