akka.http.scaladsl.unmarshalling

Unmarshaller

trait Unmarshaller[-A, B] extends AnyRef

Source
Unmarshaller.scala
Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Unmarshaller
  2. AnyRef
  3. Any
Implicitly
  1. by liftToSourceOptionUnmarshaller
  2. by EnhancedFromEntityUnmarshaller
  3. by liftToTargetOptionUnmarshaller
  4. by EnhancedUnmarshaller
  5. by any2stringadd
  6. by any2stringfmt
  7. by any2ArrowAssoc
  8. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

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

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to ArrowAssoc[Unmarshaller[A, B]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

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

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Ensuring[Unmarshaller[A, B]] performed by method any2Ensuring in scala.Predef. This conversion will take place only if A is a superclass of HttpEntity (A >: HttpEntity).
    Definition Classes
    Ensuring
  11. def ensuring(cond: (Unmarshaller[A, B]) ⇒ Boolean): Unmarshaller[A, B]

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Ensuring[Unmarshaller[A, B]] performed by method any2Ensuring in scala.Predef. This conversion will take place only if A is a superclass of HttpEntity (A >: HttpEntity).
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): Unmarshaller[A, B]

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

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Ensuring[Unmarshaller[A, B]] performed by method any2Ensuring in scala.Predef. This conversion will take place only if A is a superclass of HttpEntity (A >: HttpEntity).
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

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

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

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

  18. def flatMapWithInput[C](f: (A, B) ⇒ Future[C]): Unmarshaller[A, C]

    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
  19. 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. If the underlying Unmarshaller already contains a content-type filter (also wrapped at some level), this filter is *replaced* by this method, not stacked!

    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
  20. def formatted(fmtstr: String): String

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

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

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

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

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

    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
  26. def mapWithInput[C](f: (A, B) ⇒ C): Unmarshaller[A, C]

    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
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

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

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

    Definition Classes
    AnyRef
  32. def toString(): String

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

  34. val um: Unmarshaller[A, B]

    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
  35. val underlying: FromEntityUnmarshaller[B]

    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
  36. final def wait(): Unit

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

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

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

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

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to ArrowAssoc[Unmarshaller[A, B]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def apply(value: Option[A])(implicit ec: ExecutionContext): Future[B]

    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)
  2. def apply(value: A)(implicit ec: ExecutionContext): Future[Option[B]]

    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)
  3. def flatMap[C](f: (ExecutionContext) ⇒ (B) ⇒ Future[C]): Unmarshaller[Option[A], 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]).flatMap(f)
  4. def flatMap[C](f: (ExecutionContext) ⇒ (Option[B]) ⇒ Future[C]): Unmarshaller[A, 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]]).flatMap(f)
  5. def map[C](f: (B) ⇒ C): Unmarshaller[Option[A], 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]).map(f)
  6. def map[C](f: (Option[B]) ⇒ C): Unmarshaller[A, 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]]).map(f)
  7. def recover[C >: B](pf: (ExecutionContext) ⇒ PartialFunction[Throwable, C]): Unmarshaller[Option[A], 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]).recover(pf)
  8. def recover[C >: B](pf: (ExecutionContext) ⇒ PartialFunction[Throwable, C]): Unmarshaller[A, 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]]).recover(pf)
  9. val self: Any

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (unmarshaller: StringAdd).self
    Definition Classes
    StringAdd
  10. val self: Any

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (unmarshaller: StringFormat).self
    Definition Classes
    StringFormat
  11. def transform[C](f: (ExecutionContext) ⇒ (Future[B]) ⇒ Future[C]): Unmarshaller[Option[A], 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]).transform(f)
  12. def transform[C](f: (ExecutionContext) ⇒ (Future[Option[B]]) ⇒ Future[C]): Unmarshaller[A, 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]]).transform(f)
  13. def withDefaultValue[BB >: B](defaultValue: BB): Unmarshaller[Option[A], BB]

    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)
  14. def withDefaultValue[BB >: B](defaultValue: BB): Unmarshaller[A, BB]

    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 x: Unmarshaller[A, B]

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to ArrowAssoc[Unmarshaller[A, B]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (unmarshaller: ArrowAssoc[Unmarshaller[A, B]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Unmarshaller[A, B]

    Implicit information
    This member is added by an implicit conversion from Unmarshaller[A, B] to Ensuring[Unmarshaller[A, B]] performed by method any2Ensuring in scala.Predef. This conversion will take place only if A is a superclass of HttpEntity (A >: HttpEntity).
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (unmarshaller: Ensuring[Unmarshaller[A, B]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

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

Inherited by implicit conversion EnhancedFromEntityUnmarshaller from Unmarshaller[A, B] to EnhancedFromEntityUnmarshaller[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 any2stringadd from Unmarshaller[A, B] to StringAdd

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

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

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

Ungrouped