Reuses this Marshaller's logic to produce a new Marshaller from another type C
which overrides
the akka.http.scaladsl.model.MediaType of the marshalling result with the given one.
Reuses this Marshaller's logic to produce a new Marshaller from another type C
which overrides
the akka.http.scaladsl.model.MediaType of the marshalling result with the given one.
Note that not all wrappings are legal. f the underlying akka.http.scaladsl.model.MediaType has constraints with regard to the
charsets it allows the new akka.http.scaladsl.model.MediaType must be compatible, since akka-http will never recode entities.
If the wrapping is illegal the scala.concurrent.Future produced by the resulting marshaller will contain a RuntimeException.
Reuses this Marshaller's logic to produce a new Marshaller from another type C
which overrides
the akka.http.scaladsl.model.MediaType of the marshalling result with the given one.
Reuses this Marshaller's logic to produce a new Marshaller from another type C
which overrides
the akka.http.scaladsl.model.MediaType of the marshalling result with the given one.
Note that not all wrappings are legal. f the underlying akka.http.scaladsl.model.MediaType has constraints with regard to the
charsets it allows the new akka.http.scaladsl.model.MediaType must be compatible, since akka-http will never recode entities.
If the wrapping is illegal the scala.concurrent.Future produced by the resulting marshaller will contain a RuntimeException.
(marshaller: ToResponseMarshaller[T]).apply(value)(ec)
(marshaller: ToResponseMarshaller[T]).compose(f)
(marshaller: ToResponseMarshaller[T]).composeWithEC(f)
(marshaller: ToResponseMarshaller[T]).map(f)
Reuses this Marshaller's logic to produce a new Marshaller from another type C
which overrides
the akka.http.scaladsl.model.MediaType of the marshalling result with the given one.
Reuses this Marshaller's logic to produce a new Marshaller from another type C
which overrides
the akka.http.scaladsl.model.MediaType of the marshalling result with the given one.
Note that not all wrappings are legal. f the underlying akka.http.scaladsl.model.MediaType has constraints with regard to the
charsets it allows the new akka.http.scaladsl.model.MediaType must be compatible, since akka-http will never recode entities.
If the wrapping is illegal the scala.concurrent.Future produced by the resulting marshaller will contain a RuntimeException.
(marshaller: ToResponseMarshaller[T]).wrap(newMediaType)(f)(mto)
Reuses this Marshaller's logic to produce a new Marshaller from another type C
which overrides
the akka.http.scaladsl.model.MediaType of the marshalling result with the given one.
Reuses this Marshaller's logic to produce a new Marshaller from another type C
which overrides
the akka.http.scaladsl.model.MediaType of the marshalling result with the given one.
Note that not all wrappings are legal. f the underlying akka.http.scaladsl.model.MediaType has constraints with regard to the
charsets it allows the new akka.http.scaladsl.model.MediaType must be compatible, since akka-http will never recode entities.
If the wrapping is illegal the scala.concurrent.Future produced by the resulting marshaller will contain a RuntimeException.
(marshaller: ToResponseMarshaller[T]).wrapWithEC(newMediaType)(f)(cto)