Packages

trait Unmarshaller[-A, B] extends javadsl.unmarshalling.Unmarshaller[A, B]

Source
Unmarshaller.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Unmarshaller
  2. Unmarshaller
  3. UnmarshallerBase
  4. AnyRef
  5. Any
Implicitly
  1. by EnhancedFromEntityUnmarshaller
  2. by EnhancedUnmarshaller
  3. by fromScala
  4. by any2stringadd
  5. by StringFormat
  6. by Ensuring
  7. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(value: A)(implicit ec: ExecutionContext, materializer: Materializer): Future[B]

Concrete Value Members

  1. def andThen[C](other: Unmarshaller[B, C]): Unmarshaller[A, C]
  2. implicit final def asScala: Unmarshaller[A, B]
    Definition Classes
    UnmarshallerUnmarshaller
  3. def flatMap[C](f: (ExecutionContext) => (Materializer) => (B) => Future[C]): Unmarshaller[A, C]
  4. def flatMap[C](u: javadsl.unmarshalling.Unmarshaller[_ >: B, C]): javadsl.unmarshalling.Unmarshaller[A, C]
    Definition Classes
    Unmarshaller
  5. def flatMap[C](f: Function[B, CompletionStage[C]]): javadsl.unmarshalling.Unmarshaller[A, C]
    Definition Classes
    Unmarshaller
  6. def flatMapWithInput[C](f: (A, B) => Future[C]): Unmarshaller[A, C]
    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] toEnhancedUnmarshaller[A, B] performed by method EnhancedUnmarshaller in akka.http.scaladsl.unmarshalling.Unmarshaller.
    Definition Classes
    EnhancedUnmarshaller
  7. def forContentTypes(ranges: ContentTypeRange*): FromEntityUnmarshaller[B]

    Modifies the underlying Unmarshaller to only accept Content-Types matching one of the given ranges.

    Modifies the underlying Unmarshaller to only accept Content-Types matching one of the given ranges. Note that you can only restrict to a subset of the Content-Types accepted by the underlying unmarshaller, i.e. the given ranges must be completely supported also by the underlying Unmarshaller! If a violation of this rule is detected at runtime, i.e. if an entity is encountered whose Content-Type is matched by one of the given ranges but rejected by the underlying unmarshaller an IllegalStateException will be thrown!

    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] toEnhancedFromEntityUnmarshaller[B] performed by method EnhancedFromEntityUnmarshaller in akka.http.scaladsl.unmarshalling.Unmarshaller.This conversion will take place only if A is a superclass of HttpEntity (A >: HttpEntity).
    Definition Classes
    EnhancedFromEntityUnmarshaller
  8. def map[C](f: (B) => C): Unmarshaller[A, C]
  9. def mapWithCharset[B](f: (B, HttpCharset) => B): FromEntityUnmarshaller[B]
    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] toEnhancedFromEntityUnmarshaller[B] performed by method EnhancedFromEntityUnmarshaller in akka.http.scaladsl.unmarshalling.Unmarshaller.This conversion will take place only if A is a superclass of HttpEntity (A >: HttpEntity).
    Definition Classes
    EnhancedFromEntityUnmarshaller
  10. def mapWithInput[C](f: (A, B) => C): Unmarshaller[A, C]
    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] toEnhancedUnmarshaller[A, B] performed by method EnhancedUnmarshaller in akka.http.scaladsl.unmarshalling.Unmarshaller.
    Definition Classes
    EnhancedUnmarshaller
  11. def recover[C >: B](pf: (ExecutionContext) => (Materializer) => PartialFunction[Throwable, C]): Unmarshaller[A, C]
  12. def thenApply[C](f: Function[B, C]): javadsl.unmarshalling.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

    Definition Classes
    Unmarshaller
  13. def transform[C](f: (ExecutionContext) => (Materializer) => (Future[B]) => Future[C]): Unmarshaller[A, C]
  14. val um: Unmarshaller[A, B]
    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] toEnhancedUnmarshaller[A, B] performed by method EnhancedUnmarshaller in akka.http.scaladsl.unmarshalling.Unmarshaller.
    Definition Classes
    EnhancedUnmarshaller
  15. val underlying: FromEntityUnmarshaller[B]
    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] toEnhancedFromEntityUnmarshaller[B] performed by method EnhancedFromEntityUnmarshaller in akka.http.scaladsl.unmarshalling.Unmarshaller.This conversion will take place only if A is a superclass of HttpEntity (A >: HttpEntity).
    Definition Classes
    EnhancedFromEntityUnmarshaller
  16. 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.

    Definition Classes
    Unmarshaller
  17. def unmarshal(value: A, ec: ExecutionContext, system: ClassicActorSystemProvider): CompletionStage[B]

    Apply this Unmarshaller to the given value.

    Apply this Unmarshaller to the given value.

    Definition Classes
    Unmarshaller
  18. 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.

    Definition Classes
    Unmarshaller
  19. def unmarshal(value: A, ec: ExecutionContext, mat: Materializer): CompletionStage[B]

    Apply this Unmarshaller to the given value.

    Apply this Unmarshaller to the given value.

    Definition Classes
    Unmarshaller
  20. def withDefaultValue[BB >: B](defaultValue: BB): Unmarshaller[A, BB]

Shadowed Implicit Value Members

  1. implicit def asScala: Unmarshaller[A, B]
    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] tojavadsl.unmarshalling.Unmarshaller[A, B] performed by method fromScala in akka.http.javadsl.unmarshalling.Unmarshaller.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).asScala
    Definition Classes
    Unmarshaller
  2. def flatMap[C](u: javadsl.unmarshalling.Unmarshaller[_ >: B, C]): javadsl.unmarshalling.Unmarshaller[A, C]
    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] tojavadsl.unmarshalling.Unmarshaller[A, B] performed by method fromScala in akka.http.javadsl.unmarshalling.Unmarshaller.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).flatMap(u)
    Definition Classes
    Unmarshaller
  3. def flatMap[C](f: Function[B, CompletionStage[C]]): javadsl.unmarshalling.Unmarshaller[A, C]
    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] tojavadsl.unmarshalling.Unmarshaller[A, B] performed by method fromScala in akka.http.javadsl.unmarshalling.Unmarshaller.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).flatMap(f)
    Definition Classes
    Unmarshaller
  4. def thenApply[C](f: Function[B, C]): javadsl.unmarshalling.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

    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] tojavadsl.unmarshalling.Unmarshaller[A, B] performed by method fromScala in akka.http.javadsl.unmarshalling.Unmarshaller.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).thenApply(f)
    Definition Classes
    Unmarshaller
  5. 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.

    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] tojavadsl.unmarshalling.Unmarshaller[A, B] performed by method fromScala in akka.http.javadsl.unmarshalling.Unmarshaller.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).unmarshal(value, system)
    Definition Classes
    Unmarshaller
  6. def unmarshal(value: A, ec: ExecutionContext, system: ClassicActorSystemProvider): CompletionStage[B]

    Apply this Unmarshaller to the given value.

    Apply this Unmarshaller to the given value.

    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] tojavadsl.unmarshalling.Unmarshaller[A, B] performed by method fromScala in akka.http.javadsl.unmarshalling.Unmarshaller.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).unmarshal(value, ec, system)
    Definition Classes
    Unmarshaller
  7. 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.

    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] tojavadsl.unmarshalling.Unmarshaller[A, B] performed by method fromScala in akka.http.javadsl.unmarshalling.Unmarshaller.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).unmarshal(value, mat)
    Definition Classes
    Unmarshaller
  8. def unmarshal(value: A, ec: ExecutionContext, mat: Materializer): CompletionStage[B]

    Apply this Unmarshaller to the given value.

    Apply this Unmarshaller to the given value.

    Implicit
    This member is added by an implicit conversion from Unmarshaller[A, B] tojavadsl.unmarshalling.Unmarshaller[A, B] performed by method fromScala in akka.http.javadsl.unmarshalling.Unmarshaller.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).unmarshal(value, ec, mat)
    Definition Classes
    Unmarshaller