Package akka.http.scaladsl.marshalling
Interface PredefinedToResponseMarshallers
- All Superinterfaces:
LowPriorityToResponseMarshallerImplicits
- All Known Implementing Classes:
Marshaller$
,PredefinedToResponseMarshallers$
-
Method Summary
Modifier and TypeMethodDescription<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) Creates a response for a status code.Marshaller<scala.Tuple2<StatusCode,
scala.collection.immutable.Seq<HttpHeader>>, HttpResponse> Creates a response from status code and headers.<T> Marshaller<scala.Tuple3<StatusCode,
scala.collection.immutable.Seq<HttpHeader>, T>, HttpResponse> <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) Methods inherited from interface akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits
fromEntityStreamingSupportAndByteStringSourceMarshaller, fromEntityStreamingSupportAndEntityMarshaller, liftMarshaller, liftMarshallerConversion
-
Method Details
-
fromToEntityMarshaller
<T> Marshaller<T,HttpResponse> fromToEntityMarshaller(StatusCode status, scala.collection.immutable.Seq<HttpHeader> headers, Marshaller<T, RequestEntity> m) -
fromResponse
Marshaller<HttpResponse,HttpResponse> fromResponse() -
fromStatusCode
Marshaller<StatusCode,HttpResponse> fromStatusCode()Creates a response for a status code. Does not support content-type negotiation but will return a response either with atext-plain
entity containing thestatus.defaultMessage
or an empty entity for status codes that don't allow a response.- Returns:
- (undocumented)
-
fromStatusCodeAndHeaders
Marshaller<scala.Tuple2<StatusCode,scala.collection.immutable.Seq<HttpHeader>>, fromStatusCodeAndHeaders()HttpResponse> Creates a response from status code and headers. Does not support content-type negotiation but will return a response either with atext-plain
entity containing thestatus.defaultMessage
or an empty entity for status codes that don't allow a response.- Returns:
- (undocumented)
-
fromStatusCodeAndValue
<S,T> Marshaller<scala.Tuple2<S,T>, fromStatusCodeAndValueHttpResponse> (scala.Function1<S, StatusCode> sConv, Marshaller<T, RequestEntity> mt) -
fromStatusCodeConvertibleAndHeadersAndT
<S,T> Marshaller<scala.Tuple3<S,scala.collection.immutable.Seq<HttpHeader>, fromStatusCodeConvertibleAndHeadersAndTT>, HttpResponse> (scala.Function1<S, StatusCode> sConv, Marshaller<T, RequestEntity> mt) -
fromStatusCodeAndHeadersAndValue
<T> Marshaller<scala.Tuple3<StatusCode,scala.collection.immutable.Seq<HttpHeader>, fromStatusCodeAndHeadersAndValueT>, HttpResponse> (Marshaller<T, RequestEntity> mt) -
fromEntityStreamingSupportAndByteStringMarshaller
<T,M> Marshaller<akka.stream.scaladsl.Source<T,M>, fromEntityStreamingSupportAndByteStringMarshallerHttpResponse> (scala.reflect.ClassTag<T> evidence$1, EntityStreamingSupport s, Marshaller<T, akka.util.ByteString> m)
-