public class PredefinedToResponseMarshallers$ extends java.lang.Object implements PredefinedToResponseMarshallers
Modifier and Type | Field and Description |
---|---|
static PredefinedToResponseMarshallers$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
PredefinedToResponseMarshallers$() |
Modifier and Type | Method and 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromEntityStreamingSupportAndByteStringMarshaller, fromStatusCodeAndHeadersAndValue, fromStatusCodeAndValue, fromStatusCodeConvertibleAndHeadersAndT, fromToEntityMarshaller
fromEntityStreamingSupportAndByteStringSourceMarshaller, fromEntityStreamingSupportAndEntityMarshaller, liftMarshaller, liftMarshallerConversion
public static final PredefinedToResponseMarshallers$ MODULE$
public Marshaller<HttpResponse,HttpResponse> fromResponse()
fromResponse
in interface PredefinedToResponseMarshallers
public Marshaller<StatusCode,HttpResponse> fromStatusCode()
PredefinedToResponseMarshallers
text-plain
entity containing the status.defaultMessage
or an empty entity
for status codes that don't allow a response.fromStatusCode
in interface PredefinedToResponseMarshallers
public Marshaller<scala.Tuple2<StatusCode,scala.collection.immutable.Seq<HttpHeader>>,HttpResponse> fromStatusCodeAndHeaders()
PredefinedToResponseMarshallers
text-plain
entity containing the status.defaultMessage
or an empty entity
for status codes that don't allow a response.fromStatusCodeAndHeaders
in interface PredefinedToResponseMarshallers