Package akka.http.scaladsl.marshalling
Interface PredefinedToResponseMarshallers
-
- All Superinterfaces:
LowPriorityToResponseMarshallerImplicits
- All Known Implementing Classes:
Marshaller$
,PredefinedToResponseMarshallers$
public interface PredefinedToResponseMarshallers extends LowPriorityToResponseMarshallerImplicits
-
-
Method Summary
-
Methods inherited from interface akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits
fromEntityStreamingSupportAndByteStringSourceMarshaller, fromEntityStreamingSupportAndEntityMarshaller, liftMarshaller, liftMarshallerConversion
-
-
-
-
Method Detail
-
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>>,HttpResponse> fromStatusCodeAndHeaders()
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>,HttpResponse> fromStatusCodeAndValue(scala.Function1<S,StatusCode> sConv, Marshaller<T,RequestEntity> mt)
-
fromStatusCodeConvertibleAndHeadersAndT
<S,T> Marshaller<scala.Tuple3<S,scala.collection.immutable.Seq<HttpHeader>,T>,HttpResponse> fromStatusCodeConvertibleAndHeadersAndT(scala.Function1<S,StatusCode> sConv, Marshaller<T,RequestEntity> mt)
-
fromStatusCodeAndHeadersAndValue
<T> Marshaller<scala.Tuple3<StatusCode,scala.collection.immutable.Seq<HttpHeader>,T>,HttpResponse> fromStatusCodeAndHeadersAndValue(Marshaller<T,RequestEntity> mt)
-
fromEntityStreamingSupportAndByteStringMarshaller
<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)
-
-