Trait/Object

akka.http.scaladsl.unmarshalling

Unmarshaller

Related Docs: object Unmarshaller | package unmarshalling

Permalink

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

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

Abstract Value Members

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

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to any2stringadd[Unmarshaller[A, B]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Unmarshaller[A, B], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to ArrowAssoc[Unmarshaller[A, B]] performed by method ArrowAssoc in scala.Predef. This conversion will take place only if A is a superclass of HttpEntity (A >: HttpEntity).
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def andThen[C](other: Unmarshaller[B, C]): Unmarshaller[A, C]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. implicit final def asScala: Unmarshaller[A, B]

    Permalink
    Definition Classes
    UnmarshallerUnmarshaller
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def ensuring(cond: (Unmarshaller[A, B]) ⇒ Boolean, msg: ⇒ Any): Unmarshaller[A, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Ensuring[Unmarshaller[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (Unmarshaller[A, B]) ⇒ Boolean): Unmarshaller[A, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Ensuring[Unmarshaller[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): Unmarshaller[A, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Ensuring[Unmarshaller[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): Unmarshaller[A, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Ensuring[Unmarshaller[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def flatMap[C](f: (ExecutionContext) ⇒ (Materializer) ⇒ (B) ⇒ Future[C]): Unmarshaller[A, C]

    Permalink
  18. def flatMap[C](u: javadsl.unmarshalling.Unmarshaller[_ >: B, C]): javadsl.unmarshalling.Unmarshaller[A, C]

    Permalink
    Definition Classes
    Unmarshaller
  19. def flatMap[C](f: Function[B, CompletionStage[C]]): javadsl.unmarshalling.Unmarshaller[A, C]

    Permalink
    Definition Classes
    Unmarshaller
  20. def flatMapWithInput[C](f: (A, B) ⇒ Future[C]): Unmarshaller[A, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to EnhancedUnmarshaller[A, B] performed by method EnhancedUnmarshaller in akka.http.scaladsl.unmarshalling.Unmarshaller.
    Definition Classes
    EnhancedUnmarshaller
  21. def forContentTypes(ranges: ContentTypeRange*): FromEntityUnmarshaller[B]

    Permalink

    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 information
    This member is added by an implicit conversion from Unmarshaller[A, B] to EnhancedFromEntityUnmarshaller[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
  22. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to StringFormat[Unmarshaller[A, B]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def map[C](f: (B) ⇒ C): Unmarshaller[A, C]

    Permalink
  27. def mapWithCharset[B](f: (B, HttpCharset) ⇒ B): FromEntityUnmarshaller[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to EnhancedFromEntityUnmarshaller[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
  28. def mapWithInput[C](f: (A, B) ⇒ C): Unmarshaller[A, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to EnhancedUnmarshaller[A, B] performed by method EnhancedUnmarshaller in akka.http.scaladsl.unmarshalling.Unmarshaller.
    Definition Classes
    EnhancedUnmarshaller
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def recover[C >: B](pf: (ExecutionContext) ⇒ (Materializer) ⇒ PartialFunction[Throwable, C]): Unmarshaller[A, C]

    Permalink
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def thenApply[C](f: Function[B, C]): javadsl.unmarshalling.Unmarshaller[A, C]

    Permalink

    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
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. def transform[C](f: (ExecutionContext) ⇒ (Materializer) ⇒ (Future[B]) ⇒ Future[C]): Unmarshaller[A, C]

    Permalink
  37. val um: Unmarshaller[A, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to EnhancedUnmarshaller[A, B] performed by method EnhancedUnmarshaller in akka.http.scaladsl.unmarshalling.Unmarshaller.
    Definition Classes
    EnhancedUnmarshaller
  38. val underlying: FromEntityUnmarshaller[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to EnhancedFromEntityUnmarshaller[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
  39. def unmarshal(value: A, mat: Materializer): CompletionStage[B]

    Permalink

    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
  40. def unmarshal(value: A, ec: ExecutionContext, mat: Materializer): CompletionStage[B]

    Permalink

    Apply this Unmarshaller to the given value.

    Apply this Unmarshaller to the given value.

    Definition Classes
    Unmarshaller
  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def withDefaultValue[BB >: B](defaultValue: BB): Unmarshaller[A, BB]

    Permalink
  45. def [B](y: B): (Unmarshaller[A, B], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to ArrowAssoc[Unmarshaller[A, B]] performed by method ArrowAssoc in scala.Predef. This conversion will take place only if A is a superclass of HttpEntity (A >: HttpEntity).
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def andThen[C](other: Unmarshaller[B, C]): Unmarshaller[Option[A], C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).andThen(other)
  2. def andThen[C](other: Unmarshaller[Option[B], C]): Unmarshaller[A, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).andThen(other)
  3. def apply(value: Option[A])(implicit ec: ExecutionContext, materializer: Materializer): Future[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).apply(value)(ec, materializer)
  4. def apply(value: A)(implicit ec: ExecutionContext, materializer: Materializer): Future[Option[B]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).apply(value)(ec, materializer)
  5. implicit final def asScala: Unmarshaller[Option[A], B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).asScala
    Definition Classes
    UnmarshallerUnmarshaller
  6. implicit final def asScala: Unmarshaller[A, Option[B]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).asScala
    Definition Classes
    UnmarshallerUnmarshaller
  7. implicit def asScala: Unmarshaller[A, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to javadsl.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
  8. def flatMap[C](f: (ExecutionContext) ⇒ (Materializer) ⇒ (B) ⇒ Future[C]): Unmarshaller[Option[A], C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).flatMap(f)
  9. def flatMap[C](u: javadsl.unmarshalling.Unmarshaller[_ >: B, C]): javadsl.unmarshalling.Unmarshaller[Option[A], C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).flatMap(u)
    Definition Classes
    Unmarshaller
  10. def flatMap[C](f: Function[B, CompletionStage[C]]): javadsl.unmarshalling.Unmarshaller[Option[A], C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).flatMap(f)
    Definition Classes
    Unmarshaller
  11. def flatMap[C](f: (ExecutionContext) ⇒ (Materializer) ⇒ (Option[B]) ⇒ Future[C]): Unmarshaller[A, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).flatMap(f)
  12. def flatMap[C](u: javadsl.unmarshalling.Unmarshaller[_ >: Option[B], C]): javadsl.unmarshalling.Unmarshaller[A, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).flatMap(u)
    Definition Classes
    Unmarshaller
  13. def flatMap[C](f: Function[Option[B], CompletionStage[C]]): javadsl.unmarshalling.Unmarshaller[A, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).flatMap(f)
    Definition Classes
    Unmarshaller
  14. def flatMap[C](u: javadsl.unmarshalling.Unmarshaller[_ >: B, C]): javadsl.unmarshalling.Unmarshaller[A, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to javadsl.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
  15. def flatMap[C](f: Function[B, CompletionStage[C]]): javadsl.unmarshalling.Unmarshaller[A, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to javadsl.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
  16. def map[C](f: (B) ⇒ C): Unmarshaller[Option[A], C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).map(f)
  17. def map[C](f: (Option[B]) ⇒ C): Unmarshaller[A, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).map(f)
  18. def recover[C >: B](pf: (ExecutionContext) ⇒ (Materializer) ⇒ PartialFunction[Throwable, C]): Unmarshaller[Option[A], C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).recover(pf)
  19. def recover[C >: B](pf: (ExecutionContext) ⇒ (Materializer) ⇒ PartialFunction[Throwable, C]): Unmarshaller[A, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).recover(pf)
  20. def thenApply[C](f: Function[B, C]): javadsl.unmarshalling.Unmarshaller[Option[A], C]

    Permalink

    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 information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).thenApply(f)
    Definition Classes
    Unmarshaller
  21. def thenApply[C](f: Function[Option[B], C]): javadsl.unmarshalling.Unmarshaller[A, C]

    Permalink

    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 information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).thenApply(f)
    Definition Classes
    Unmarshaller
  22. def thenApply[C](f: Function[B, C]): javadsl.unmarshalling.Unmarshaller[A, C]

    Permalink

    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 information
    This member is added by an implicit conversion from Unmarshaller[A, B] to javadsl.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
  23. def transform[C](f: (ExecutionContext) ⇒ (Materializer) ⇒ (Future[B]) ⇒ Future[C]): Unmarshaller[Option[A], C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).transform(f)
  24. def transform[C](f: (ExecutionContext) ⇒ (Materializer) ⇒ (Future[Option[B]]) ⇒ Future[C]): Unmarshaller[A, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).transform(f)
  25. def unmarshal(value: Option[A], mat: Materializer): CompletionStage[B]

    Permalink

    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 information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).unmarshal(value, mat)
    Definition Classes
    Unmarshaller
  26. def unmarshal(value: Option[A], ec: ExecutionContext, mat: Materializer): CompletionStage[B]

    Permalink

    Apply this Unmarshaller to the given value.

    Apply this Unmarshaller to the given value.

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).unmarshal(value, ec, mat)
    Definition Classes
    Unmarshaller
  27. def unmarshal(value: A, mat: Materializer): CompletionStage[Option[B]]

    Permalink

    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 information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).unmarshal(value, mat)
    Definition Classes
    Unmarshaller
  28. def unmarshal(value: A, ec: ExecutionContext, mat: Materializer): CompletionStage[Option[B]]

    Permalink

    Apply this Unmarshaller to the given value.

    Apply this Unmarshaller to the given value.

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).unmarshal(value, ec, mat)
    Definition Classes
    Unmarshaller
  29. def unmarshal(value: A, mat: Materializer): CompletionStage[B]

    Permalink

    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 information
    This member is added by an implicit conversion from Unmarshaller[A, B] to javadsl.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
  30. def unmarshal(value: A, ec: ExecutionContext, mat: Materializer): CompletionStage[B]

    Permalink

    Apply this Unmarshaller to the given value.

    Apply this Unmarshaller to the given value.

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to javadsl.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
  31. def withDefaultValue[BB >: B](defaultValue: BB): Unmarshaller[Option[A], BB]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).withDefaultValue(defaultValue)
  32. def withDefaultValue[BB >: B](defaultValue: BB): Unmarshaller[A, BB]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).withDefaultValue(defaultValue)

Deprecated Value Members

  1. def unmarshall(a: Option[A], ec: ExecutionContext, mat: Materializer): CompletionStage[B]

    Permalink

    Deprecated in favor of unmarshal.

    Deprecated in favor of unmarshal.

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[Option[A], B] performed by method liftToSourceOptionUnmarshaller in akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.
    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: Unmarshaller[Option[A], B]).unmarshall(a, ec, mat)
    Definition Classes
    Unmarshaller
    Annotations
    @deprecated
    Deprecated

    (Since version 10.0.2) Use unmarshal instead.

  2. def unmarshall(a: A, ec: ExecutionContext, mat: Materializer): CompletionStage[Option[B]]

    Permalink

    Deprecated in favor of unmarshal.

    Deprecated in favor of unmarshal.

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Unmarshaller[A, Option[B]] performed by method liftToTargetOptionUnmarshaller in akka.http.scaladsl.unmarshalling.GenericUnmarshallers.
    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: Unmarshaller[A, Option[B]]).unmarshall(a, ec, mat)
    Definition Classes
    Unmarshaller
    Annotations
    @deprecated
    Deprecated

    (Since version 10.0.2) Use unmarshal instead.

  3. def unmarshall(a: A, ec: ExecutionContext, mat: Materializer): CompletionStage[B]

    Permalink

    Deprecated in favor of unmarshal.

    Deprecated in favor of unmarshal.

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to javadsl.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]).unmarshall(a, ec, mat)
    Definition Classes
    Unmarshaller
    Annotations
    @deprecated
    Deprecated

    (Since version 10.0.2) Use unmarshal instead.

  4. def unmarshall(a: A, ec: ExecutionContext, mat: Materializer): CompletionStage[B]

    Permalink

    Deprecated in favor of unmarshal.

    Deprecated in favor of unmarshal.

    Definition Classes
    Unmarshaller
    Annotations
    @deprecated
    Deprecated

    (Since version 10.0.2) Use unmarshal instead.

Inherited from javadsl.unmarshalling.Unmarshaller[A, B]

Inherited from UnmarshallerBase[A, B]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion liftToSourceOptionUnmarshaller from Unmarshaller[A, B] to Unmarshaller[Option[A], B]

Inherited by implicit conversion liftToTargetOptionUnmarshaller from Unmarshaller[A, B] to Unmarshaller[A, Option[B]]

Inherited by implicit conversion EnhancedUnmarshaller from Unmarshaller[A, B] to EnhancedUnmarshaller[A, B]

Inherited by implicit conversion EnhancedFromEntityUnmarshaller from Unmarshaller[A, B] to EnhancedFromEntityUnmarshaller[B]

Inherited by implicit conversion fromScala from Unmarshaller[A, B] to javadsl.unmarshalling.Unmarshaller[A, B]

Inherited by implicit conversion any2stringadd from Unmarshaller[A, B] to any2stringadd[Unmarshaller[A, B]]

Inherited by implicit conversion StringFormat from Unmarshaller[A, B] to StringFormat[Unmarshaller[A, B]]

Inherited by implicit conversion Ensuring from Unmarshaller[A, B] to Ensuring[Unmarshaller[A, B]]

Inherited by implicit conversion ArrowAssoc from Unmarshaller[A, B] to ArrowAssoc[Unmarshaller[A, B]]

Ungrouped