public interface Marshalling<A>
Modifier and Type | Interface and Description |
---|---|
static class |
Marshalling.Opaque<A>
A Marshalling to an unknown MediaType and charset.
|
static class |
Marshalling.Opaque$ |
static class |
Marshalling.WithFixedContentType<A>
A Marshalling to a specific
pekko.http.scaladsl.model.ContentType . |
static class |
Marshalling.WithFixedContentType$ |
static class |
Marshalling.WithOpenCharset<A>
A Marshalling to a specific
pekko.http.scaladsl.model.MediaType with a flexible charset. |
static class |
Marshalling.WithOpenCharset$ |
Modifier and Type | Method and Description |
---|---|
<B> Marshalling<B> |
map(scala.Function1<A,B> f) |
Marshalling<A> |
toOpaque(HttpCharset charset)
Converts this marshalling to an opaque marshalling, i.e. a marshalling result that
does not take part in content type negotiation.
|
<B> Marshalling<B> map(scala.Function1<A,B> f)
Marshalling<A> toOpaque(HttpCharset charset)
WithOpenCharset
marshalling.charset
- (undocumented)