PredefinedToResponseMarshallers

org.apache.pekko.http.scaladsl.marshalling.PredefinedToResponseMarshallers
See thePredefinedToResponseMarshallers companion trait

Attributes

Companion
trait
Source
PredefinedToResponseMarshallers.scala
Graph
Supertypes
Self type

Members list

Value members

Inherited methods

Implicits

Inherited implicits

Creates a response for a status code. Does not support content-type negotiation but will return a response either with a text-plain entity containing the status.defaultMessage or an empty entity for status codes that don't allow a response.

Creates a response for a status code. Does not support content-type negotiation but will return a response either with a text-plain entity containing the status.defaultMessage or an empty entity for status codes that don't allow a response.

Attributes

Inherited from:
PredefinedToResponseMarshallers
Source
PredefinedToResponseMarshallers.scala

Creates a response from status code and headers. Does not support content-type negotiation but will return a response either with a text-plain entity containing the status.defaultMessage or an empty entity for status codes that don't allow a response.

Creates a response from status code and headers. Does not support content-type negotiation but will return a response either with a text-plain entity containing the status.defaultMessage or an empty entity for status codes that don't allow a response.

Attributes

Inherited from:
PredefinedToResponseMarshallers
Source
PredefinedToResponseMarshallers.scala
implicit def fromStatusCodeAndValue[S, T](implicit sConv: S => StatusCode, mt: ToEntityMarshaller[T]): ToResponseMarshaller[(S, T)]