Package akka.http.scaladsl.marshalling
Class PredefinedToResponseMarshallers$
java.lang.Object
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers$
- All Implemented Interfaces:
LowPriorityToResponseMarshallerImplicits
,PredefinedToResponseMarshallers
public class PredefinedToResponseMarshallers$
extends Object
implements PredefinedToResponseMarshallers
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PredefinedToResponseMarshallers$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a response for a status code.Marshaller<scala.Tuple2<StatusCode,
scala.collection.immutable.Seq<HttpHeader>>, HttpResponse> 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 Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
PredefinedToResponseMarshallers$
public PredefinedToResponseMarshallers$()
-
-
Method Details
-
fromResponse
- Specified by:
fromResponse
in interfacePredefinedToResponseMarshallers
-
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>>, fromStatusCodeAndHeaders()HttpResponse> 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)
-