Packages

abstract class Unmarshaller[-A, B] extends UnmarshallerBase[A, B]

An unmarshaller transforms values of type A into type B.

Source
Unmarshaller.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Unmarshaller
  2. UnmarshallerBase
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Unmarshaller()

Abstract Value Members

  1. implicit abstract def asScala: scaladsl.unmarshalling.Unmarshaller[A, B]

Concrete Value Members

  1. def flatMap[C](u: Unmarshaller[_ >: B, C]): Unmarshaller[A, C]
  2. def flatMap[C](f: Function[B, CompletionStage[C]]): Unmarshaller[A, C]
  3. def thenApply[C](f: Function[B, C]): Unmarshaller[A, C]

    Transform the result B of this unmarshaller to a C producing a marshaller that turns As into Cs

    Transform the result B of this unmarshaller to a C producing a marshaller that turns As into Cs

    returns

    A new marshaller that can unmarshall instances of A into instances of C

  4. def unmarshal(value: A, system: ClassicActorSystemProvider): CompletionStage[B]

    Apply this Unmarshaller to the given value.

    Apply this Unmarshaller to the given value. Uses the default materializer ExecutionContext. If you expect the marshalling to be heavy, it is suggested to provide a specialized context for those operations.

  5. def unmarshal(value: A, ec: ExecutionContext, system: ClassicActorSystemProvider): CompletionStage[B]

    Apply this Unmarshaller to the given value.

  6. def unmarshal(value: A, mat: Materializer): CompletionStage[B]

    Apply this Unmarshaller to the given value.

    Apply this Unmarshaller to the given value. Uses the default materializer ExecutionContext. If you expect the marshalling to be heavy, it is suggested to provide a specialized context for those operations.

  7. def unmarshal(value: A, ec: ExecutionContext, mat: Materializer): CompletionStage[B]

    Apply this Unmarshaller to the given value.