Attributes
- Companion
- trait
- Source
- Unmarshaller.scala
- Graph
-
- Supertypes
-
trait MultipartUnmarshallerstrait GenericUnmarshallersclass Objecttrait Matchableclass AnyShow all
- Self type
-
Unmarshaller.type
Members list
Type members
Classlikes
Order of parameters (right first, left second) is intentional, since that's the order we evaluate them in.
Order of parameters (right first, left second) is intentional, since that's the order we evaluate them in.
Attributes
- Source
- Unmarshaller.scala
- Supertypes
-
trait Producttrait Equalsclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Unmarshaller.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- Unmarshaller.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Signals that unmarshalling failed because the entity was unexpectedly empty.
Signals that unmarshalling failed because the entity was unexpectedly empty.
Attributes
- Source
- Unmarshaller.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Producttrait Equalstrait NoStackTraceclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
NoContentException.type
Signals that unmarshalling failed because the entity content-type did not match one of the supported ranges. This error cannot be thrown by custom code, you need to use the forContentTypes modifier on a base pekko.http.scaladsl.unmarshalling.Unmarshaller instead.
Signals that unmarshalling failed because the entity content-type did not match one of the supported ranges. This error cannot be thrown by custom code, you need to use the forContentTypes modifier on a base pekko.http.scaladsl.unmarshalling.Unmarshaller instead.
Attributes
- Companion
- object
- Source
- Unmarshaller.scala
- Supertypes
-
trait Producttrait Equalsclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Unmarshaller.scala
- Supertypes
- Self type
Value members
Concrete methods
Creates an Unmarshaller from the given function.
Returns the best charset for unmarshalling the given entity to a character-based representation. Falls back to UTF-8 if no better alternative can be determined.
Returns the best charset for unmarshalling the given entity to a character-based representation. Falls back to UTF-8 if no better alternative can be determined.
Attributes
- Source
- Unmarshaller.scala
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".
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".
Attributes
- Source
- Unmarshaller.scala
Helper for creating a synchronous Unmarshaller from the given function.
Helper for creating a synchronous Unmarshaller from the given function.
Attributes
- Source
- Unmarshaller.scala
Attributes
- Source
- Unmarshaller.scala
Inherited methods
Attributes
- Inherited from:
- MultipartUnmarshallers
- Source
- MultipartUnmarshallers.scala
Attributes
- Inherited from:
- MultipartUnmarshallers
- Source
- MultipartUnmarshallers.scala
Attributes
- Inherited from:
- MultipartUnmarshallers
- Source
- MultipartUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromEntityUnmarshallers
- Source
- PredefinedFromEntityUnmarshallers.scala
Inherited fields
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala
Implicits
Implicits
Attributes
- Source
- Unmarshaller.scala
Attributes
- Source
- Unmarshaller.scala
Attributes
- Source
- Unmarshaller.scala
Inherited implicits
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromEntityUnmarshallers
- Source
- PredefinedFromEntityUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromEntityUnmarshallers
- Source
- PredefinedFromEntityUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromEntityUnmarshallers
- Source
- PredefinedFromEntityUnmarshallers.scala
Attributes
- Inherited from:
- MultipartUnmarshallers
- Source
- MultipartUnmarshallers.scala
Attributes
- Inherited from:
- MultipartUnmarshallers
- Source
- MultipartUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromEntityUnmarshallers
- Source
- PredefinedFromEntityUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala
Enables using Either to encode the following unmarshalling logic: Attempt unmarshalling the entity as as R first (yielding R), and if it fails attempt unmarshalling as L (yielding Left).
Enables using Either to encode the following unmarshalling logic: Attempt unmarshalling the entity as as R first (yielding R), and if it fails attempt unmarshalling as L (yielding Left).
The either unmarshaller only works with strict entities, so make sure to wrap routes that want to use it with toStrictEntity. Otherwise, if a non-strict entity is provided, it will fail with an IllegalArgumentException.
Note that the Either's "R" type will be attempted first (as Left is often considered as the "failed case" in Either).
Attributes
- Inherited from:
- LowerPriorityGenericUnmarshallers
- Source
- GenericUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala
Attributes
- Inherited from:
- LowerPriorityGenericUnmarshallers
- Source
- GenericUnmarshallers.scala
Attributes
- Inherited from:
- GenericUnmarshallers
- Source
- GenericUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala
Attributes
- Inherited from:
- LowerPriorityGenericUnmarshallers
- Source
- GenericUnmarshallers.scala
Attributes
- Inherited from:
- MultipartUnmarshallers
- Source
- MultipartUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala
Attributes
- Inherited from:
- LowerPriorityGenericUnmarshallers
- Source
- GenericUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromEntityUnmarshallers
- Source
- PredefinedFromEntityUnmarshallers.scala
Attributes
- Inherited from:
- GenericUnmarshallers
- Source
- GenericUnmarshallers.scala
Attributes
- Inherited from:
- PredefinedFromStringUnmarshallers
- Source
- PredefinedFromStringUnmarshallers.scala