Package akka.http.scaladsl.marshalling
Class PredefinedToResponseMarshallers$
- java.lang.Object
-
- akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers$
-
- All Implemented Interfaces:
LowPriorityToResponseMarshallerImplicits
,PredefinedToResponseMarshallers
public class PredefinedToResponseMarshallers$ extends java.lang.Object implements PredefinedToResponseMarshallers
-
-
Field Summary
Fields Modifier and Type Field Description static PredefinedToResponseMarshallers$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description PredefinedToResponseMarshallers$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits
fromEntityStreamingSupportAndByteStringSourceMarshaller, fromEntityStreamingSupportAndEntityMarshaller, liftMarshaller, liftMarshallerConversion
-
Methods inherited from interface akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers
fromEntityStreamingSupportAndByteStringMarshaller, fromStatusCodeAndHeadersAndValue, fromStatusCodeAndValue, fromStatusCodeConvertibleAndHeadersAndT, fromToEntityMarshaller
-
-
-
-
Field Detail
-
MODULE$
public static final PredefinedToResponseMarshallers$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
fromResponse
public Marshaller<HttpResponse,HttpResponse> fromResponse()
- Specified by:
fromResponse
in interfacePredefinedToResponseMarshallers
-
fromStatusCode
public Marshaller<StatusCode,HttpResponse> fromStatusCode()
Description copied from interface:PredefinedToResponseMarshallers
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.- Specified by:
fromStatusCode
in interfacePredefinedToResponseMarshallers
- Returns:
- (undocumented)
-
fromStatusCodeAndHeaders
public Marshaller<scala.Tuple2<StatusCode,scala.collection.immutable.Seq<HttpHeader>>,HttpResponse> fromStatusCodeAndHeaders()
Description copied from interface:PredefinedToResponseMarshallers
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.- Specified by:
fromStatusCodeAndHeaders
in interfacePredefinedToResponseMarshallers
- Returns:
- (undocumented)
-
-