Marshalling

org.apache.pekko.http.scaladsl.marshalling.Marshalling
See theMarshalling companion trait
object Marshalling

Attributes

Companion
trait
Source
Marshaller.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Opaque[A](marshal: () => A) extends Marshalling[A]

A Marshalling to an unknown MediaType and charset. Circumvents content negotiation.

A Marshalling to an unknown MediaType and charset. Circumvents content negotiation.

Attributes

Source
Marshaller.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Marshalling[A]
class Object
trait Matchable
class Any
Show all
final case class WithFixedContentType[A](contentType: ContentType, marshal: () => A) extends Marshalling[A]

A Marshalling to a specific pekko.http.scaladsl.model.ContentType.

A Marshalling to a specific pekko.http.scaladsl.model.ContentType.

Attributes

Source
Marshaller.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Marshalling[A]
class Object
trait Matchable
class Any
Show all
final case class WithOpenCharset[A](mediaType: WithOpenCharset, marshal: HttpCharset => A) extends Marshalling[A]

A Marshalling to a specific pekko.http.scaladsl.model.MediaType with a flexible charset.

A Marshalling to a specific pekko.http.scaladsl.model.MediaType with a flexible charset.

Attributes

Source
Marshaller.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Marshalling[A]
class Object
trait Matchable
class Any
Show all

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala