public interface PredefinedToResponseMarshallers extends LowPriorityToResponseMarshallerImplicits
Modifier and Type | Method and Description |
---|---|
<T,M> Marshaller<akka.stream.scaladsl.Source<T,M>,HttpResponse> |
fromEntityStreamingSupportAndByteStringMarshaller(scala.reflect.ClassTag<T> evidence$1,
EntityStreamingSupport s,
Marshaller<T,akka.util.ByteString> m) |
<T,M> Marshaller<akka.stream.scaladsl.Source<T,M>,HttpResponse> |
fromEntityStreamingSupportAndByteStringMarshaller(EntityStreamingSupport s,
Marshaller<T,akka.util.ByteString> m)
Deprecated.
This method exists only for the purpose of binary compatibility, it used to be implicit. Since 10.1.0.
|
Marshaller<HttpResponse,HttpResponse> |
fromResponse() |
Marshaller<StatusCode,HttpResponse> |
fromStatusCode()
Creates a response for a status code.
|
Marshaller<scala.Tuple2<StatusCode,scala.collection.immutable.Seq<HttpHeader>>,HttpResponse> |
fromStatusCodeAndHeaders()
Creates a response from status code and headers.
|
<T> Marshaller<scala.Tuple3<StatusCode,scala.collection.immutable.Seq<HttpHeader>,T>,HttpResponse> |
fromStatusCodeAndHeadersAndValue(Marshaller<T,RequestEntity> mt) |
<S,T> Marshaller<scala.Tuple2<S,T>,HttpResponse> |
fromStatusCodeAndValue(scala.Function1<S,StatusCode> sConv,
Marshaller<T,RequestEntity> mt) |
<S,T> Marshaller<scala.Tuple3<S,scala.collection.immutable.Seq<HttpHeader>,T>,HttpResponse> |
fromStatusCodeConvertibleAndHeadersAndT(scala.Function1<S,StatusCode> sConv,
Marshaller<T,RequestEntity> mt) |
<T> Marshaller<T,HttpResponse> |
fromToEntityMarshaller(StatusCode status,
scala.collection.immutable.Seq<HttpHeader> headers,
Marshaller<T,RequestEntity> m) |
fromEntityStreamingSupportAndByteStringSourceMarshaller, fromEntityStreamingSupportAndEntityMarshaller, liftMarshaller, liftMarshallerConversion
<T> Marshaller<T,HttpResponse> fromToEntityMarshaller(StatusCode status, scala.collection.immutable.Seq<HttpHeader> headers, Marshaller<T,RequestEntity> m)
Marshaller<HttpResponse,HttpResponse> fromResponse()
Marshaller<StatusCode,HttpResponse> fromStatusCode()
text-plain
entity containing the status.defaultMessage
or an empty entity
for status codes that don't allow a response.Marshaller<scala.Tuple2<StatusCode,scala.collection.immutable.Seq<HttpHeader>>,HttpResponse> fromStatusCodeAndHeaders()
text-plain
entity containing the status.defaultMessage
or an empty entity
for status codes that don't allow a response.<S,T> Marshaller<scala.Tuple2<S,T>,HttpResponse> fromStatusCodeAndValue(scala.Function1<S,StatusCode> sConv, Marshaller<T,RequestEntity> mt)
<S,T> Marshaller<scala.Tuple3<S,scala.collection.immutable.Seq<HttpHeader>,T>,HttpResponse> fromStatusCodeConvertibleAndHeadersAndT(scala.Function1<S,StatusCode> sConv, Marshaller<T,RequestEntity> mt)
<T> Marshaller<scala.Tuple3<StatusCode,scala.collection.immutable.Seq<HttpHeader>,T>,HttpResponse> fromStatusCodeAndHeadersAndValue(Marshaller<T,RequestEntity> mt)
<T,M> Marshaller<akka.stream.scaladsl.Source<T,M>,HttpResponse> fromEntityStreamingSupportAndByteStringMarshaller(EntityStreamingSupport s, Marshaller<T,akka.util.ByteString> m)
<T,M> Marshaller<akka.stream.scaladsl.Source<T,M>,HttpResponse> fromEntityStreamingSupportAndByteStringMarshaller(scala.reflect.ClassTag<T> evidence$1, EntityStreamingSupport s, Marshaller<T,akka.util.ByteString> m)