Marshal

org.apache.pekko.http.scaladsl.marshalling.Marshal
See theMarshal companion object
class Marshal[A](val value: A)

Attributes

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

Members list

Value members

Concrete methods

def to[B](implicit m: Marshaller[A, B], ec: ExecutionContext): Future[B]

Marshals value using the first available Marshalling for A and B provided by the given Marshaller. If the marshalling is flexible with regard to the used charset UTF-8 is chosen.

Marshals value using the first available Marshalling for A and B provided by the given Marshaller. If the marshalling is flexible with regard to the used charset UTF-8 is chosen.

Attributes

Source
Marshal.scala

Marshals value to an HttpResponse for the given HttpRequest with full content-negotiation.

Marshals value to an HttpResponse for the given HttpRequest with full content-negotiation.

Attributes

Source
Marshal.scala

Concrete fields

val value: A

Attributes

Source
Marshal.scala