akka.http.scaladsl.unmarshalling

Unmarshaller

object Unmarshaller extends GenericUnmarshallers with PredefinedFromEntityUnmarshallers with PredefinedFromStringUnmarshallers

Source
Unmarshaller.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Unmarshaller
  2. PredefinedFromStringUnmarshallers
  3. PredefinedFromEntityUnmarshallers
  4. MultipartUnmarshallers
  5. GenericUnmarshallers
  6. LowerPriorityGenericUnmarshallers
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class EnhancedFromEntityUnmarshaller[A] extends AnyVal

  2. implicit final class EnhancedUnmarshaller[A, B] extends AnyVal

  3. final case class UnsupportedContentTypeException(supported: Set[ContentTypeRange]) extends RuntimeException with Product with Serializable

    Signals that unmarshalling failed because the entity content-type did not match one of the supported ranges.

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

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

    Definition Classes
    Any
  6. val HexByte: Unmarshaller[String, Byte]

  7. val HexInt: Unmarshaller[String, Int]

  8. val HexLong: Unmarshaller[String, Long]

  9. val HexShort: Unmarshaller[String, Short]

  10. object NoContentException extends RuntimeException with NoStackTrace with Product with Serializable

    Signals that unmarshalling failed because the entity was unexpectedly empty.

  11. object UnsupportedContentTypeException extends Serializable

  12. def apply[A, B](f: (ExecutionContext) ⇒ (A) ⇒ Future[B]): Unmarshaller[A, B]

    Creates an Unmarshaller from the given function.

  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. implicit val booleanFromStringUnmarshaller: Unmarshaller[String, Boolean]

  15. implicit def byteArrayUnmarshaller(implicit fm: Materializer): FromEntityUnmarshaller[Array[Byte]]

  16. implicit val byteFromStringUnmarshaller: Unmarshaller[String, Byte]

  17. implicit def byteStringUnmarshaller(implicit fm: Materializer): FromEntityUnmarshaller[ByteString]

  18. implicit def charArrayUnmarshaller(implicit fm: Materializer): FromEntityUnmarshaller[Array[Char]]

  19. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. implicit def defaultMultipartByteRangesUnmarshaller(implicit log: LoggingAdapter = NoLogging): FromEntityUnmarshaller[ByteRanges]

    Definition Classes
    MultipartUnmarshallers
  21. implicit def defaultMultipartGeneralUnmarshaller(implicit log: LoggingAdapter = NoLogging): FromEntityUnmarshaller[General]

    Definition Classes
    MultipartUnmarshallers
  22. implicit def defaultUrlEncodedFormDataUnmarshaller(implicit fm: Materializer): FromEntityUnmarshaller[FormData]

  23. implicit val doubleFromStringUnmarshaller: Unmarshaller[String, Double]

  24. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. def firstOf[A, B](unmarshallers: Unmarshaller[A, B]*): Unmarshaller[A, B]

    Helper for creating a "super-unmarshaller" from a sequence of "sub-unmarshallers", which are tried in the given order.

    Helper for creating a "super-unmarshaller" from a sequence of "sub-unmarshallers", which are tried in the given order. The first successful unmarshalling of a "sub-unmarshallers" is the one produced by the "super-unmarshaller".

  28. implicit val floatFromStringUnmarshaller: Unmarshaller[String, Float]

  29. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  31. implicit def identityUnmarshaller[T]: Unmarshaller[T, T]

  32. implicit val intFromStringUnmarshaller: Unmarshaller[String, Int]

  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. implicit def liftToSourceOptionUnmarshaller[A, B](um: Unmarshaller[A, B]): Unmarshaller[Option[A], B]

  35. implicit def liftToTargetOptionUnmarshaller[A, B](um: Unmarshaller[A, B]): Unmarshaller[A, Option[B]]

    Definition Classes
    GenericUnmarshallers
  36. implicit val longFromStringUnmarshaller: Unmarshaller[String, Long]

  37. implicit def messageUnmarshallerFromEntityUnmarshaller[T](implicit um: FromEntityUnmarshaller[T]): FromMessageUnmarshaller[T]

  38. def multipartByteRangesUnmarshaller(defaultCharset: HttpCharset)(implicit log: LoggingAdapter = NoLogging): FromEntityUnmarshaller[ByteRanges]

    Definition Classes
    MultipartUnmarshallers
  39. implicit def multipartFormDataUnmarshaller(implicit log: LoggingAdapter = NoLogging): FromEntityUnmarshaller[FormData]

    Definition Classes
    MultipartUnmarshallers
  40. def multipartGeneralUnmarshaller(defaultCharset: HttpCharset)(implicit log: LoggingAdapter = NoLogging): FromEntityUnmarshaller[General]

    Definition Classes
    MultipartUnmarshallers
  41. def multipartUnmarshaller[T <: Multipart, BP <: BodyPart, BPS <: Strict](mediaRange: MediaRange, defaultContentType: ContentType, createBodyPart: (BodyPartEntity, List[HttpHeader]) ⇒ BP, createStreamed: (MultipartMediaType, Source[BP, Any]) ⇒ T, createStrictBodyPart: (Strict, List[HttpHeader]) ⇒ BPS, createStrict: (MultipartMediaType, Seq[BPS]) ⇒ T)(implicit log: LoggingAdapter = NoLogging): FromEntityUnmarshaller[T]

    Definition Classes
    MultipartUnmarshallers
  42. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  45. implicit val shortFromStringUnmarshaller: Unmarshaller[String, Short]

  46. implicit def sourceOptionUnmarshaller[A, B](implicit um: Unmarshaller[A, B]): Unmarshaller[Option[A], B]

  47. def strict[A, B](f: (A) ⇒ B): Unmarshaller[A, B]

    Helper for creating a synchronous Unmarshaller from the given function.

  48. implicit def stringUnmarshaller(implicit fm: Materializer): FromEntityUnmarshaller[String]

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

    Definition Classes
    AnyRef
  50. implicit def targetOptionUnmarshaller[A, B](implicit um: Unmarshaller[A, B]): Unmarshaller[A, Option[B]]

    Definition Classes
    GenericUnmarshallers
  51. def toString(): String

    Definition Classes
    AnyRef → Any
  52. def urlEncodedFormDataUnmarshaller(ranges: ContentTypeRange*)(implicit fm: Materializer): FromEntityUnmarshaller[FormData]

  53. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MultipartUnmarshallers

Inherited from GenericUnmarshallers

Inherited from AnyRef

Inherited from Any

Ungrouped