Unmarshal

org.apache.pekko.http.scaladsl.unmarshalling.Unmarshal
See theUnmarshal companion object
class Unmarshal[A](val value: A)

Attributes

Companion
object
Source
Unmarshal.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def to[B](implicit um: Unmarshaller[A, B], ec: ExecutionContext, mat: Materializer): Future[B]

Unmarshals the value to the given Type using the in-scope Unmarshaller.

Unmarshals the value to the given Type using the in-scope Unmarshaller.

Uses the default materializer ExecutionContext if no implicit execution context is provided. If you expect the marshalling to be heavy, it is suggested to provide a specialized context for those operations.

Attributes

Source
Unmarshal.scala

Concrete fields

val value: A

Attributes

Source
Unmarshal.scala