akka.http.scaladsl.unmarshalling
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!
Transform the result B
of this unmarshaller to a C
producing a marshaller that turns A
s into C
s
Transform the result B
of this unmarshaller to a C
producing a marshaller that turns A
s into C
s
A new marshaller that can unmarshall instances of A
into instances of C
Apply this Unmarshaller to the given value.
Apply this Unmarshaller to the given value.
(unmarshaller: Unmarshaller[Option[A], B]).andThen(other)
(unmarshaller: Unmarshaller[A, Option[B]]).andThen(other)
(unmarshaller: Unmarshaller[Option[A], B]).apply(value)(ec, materializer)
(unmarshaller: Unmarshaller[A, Option[B]]).apply(value)(ec, materializer)
(unmarshaller: Unmarshaller[Option[A], B]).asScala
(unmarshaller: Unmarshaller[A, Option[B]]).asScala
(unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).asScala
(unmarshaller: Unmarshaller[Option[A], B]).flatMap(f)
(unmarshaller: Unmarshaller[Option[A], B]).flatMap(u)
(unmarshaller: Unmarshaller[Option[A], B]).flatMap(f)
(unmarshaller: Unmarshaller[A, Option[B]]).flatMap(f)
(unmarshaller: Unmarshaller[A, Option[B]]).flatMap(u)
(unmarshaller: Unmarshaller[A, Option[B]]).flatMap(f)
(unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).flatMap(u)
(unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).flatMap(f)
(unmarshaller: Unmarshaller[Option[A], B]).map(f)
(unmarshaller: Unmarshaller[A, Option[B]]).map(f)
(unmarshaller: Unmarshaller[Option[A], B]).recover(pf)
(unmarshaller: Unmarshaller[A, Option[B]]).recover(pf)
Transform the result B
of this unmarshaller to a C
producing a marshaller that turns A
s into C
s
Transform the result B
of this unmarshaller to a C
producing a marshaller that turns A
s into C
s
A new marshaller that can unmarshall instances of A
into instances of C
(unmarshaller: Unmarshaller[Option[A], B]).thenApply(f)
Transform the result B
of this unmarshaller to a C
producing a marshaller that turns A
s into C
s
Transform the result B
of this unmarshaller to a C
producing a marshaller that turns A
s into C
s
A new marshaller that can unmarshall instances of A
into instances of C
(unmarshaller: Unmarshaller[A, Option[B]]).thenApply(f)
Transform the result B
of this unmarshaller to a C
producing a marshaller that turns A
s into C
s
Transform the result B
of this unmarshaller to a C
producing a marshaller that turns A
s into C
s
A new marshaller that can unmarshall instances of A
into instances of C
(unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).thenApply(f)
(unmarshaller: Unmarshaller[Option[A], B]).transform(f)
(unmarshaller: Unmarshaller[A, Option[B]]).transform(f)
Apply this Unmarshaller to the given value.
Apply this Unmarshaller to the given value.
(unmarshaller: Unmarshaller[Option[A], B]).unmarshal(value, ec, mat)
Apply this Unmarshaller to the given value.
Apply this Unmarshaller to the given value.
(unmarshaller: Unmarshaller[A, Option[B]]).unmarshal(value, ec, mat)
Apply this Unmarshaller to the given value.
Apply this Unmarshaller to the given value.
(unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).unmarshal(value, ec, mat)
(unmarshaller: Unmarshaller[Option[A], B]).withDefaultValue(defaultValue)
(unmarshaller: Unmarshaller[A, Option[B]]).withDefaultValue(defaultValue)
Deprecated in favor of unmarshal.
Deprecated in favor of unmarshal.
(unmarshaller: Unmarshaller[Option[A], B]).unmarshall(a, ec, mat)
(Since version 10.0.2) Use unmarshal instead.
Deprecated in favor of unmarshal.
Deprecated in favor of unmarshal.
(unmarshaller: Unmarshaller[A, Option[B]]).unmarshall(a, ec, mat)
(Since version 10.0.2) Use unmarshal instead.
Deprecated in favor of unmarshal.
Deprecated in favor of unmarshal.
(unmarshaller: javadsl.unmarshalling.Unmarshaller[A, B]).unmarshall(a, ec, mat)
(Since version 10.0.2) Use unmarshal instead.
Deprecated in favor of unmarshal.
Deprecated in favor of unmarshal.
(Since version 10.0.2) Use unmarshal instead.