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, waitfromEntityStreamingSupportAndByteStringMarshaller, fromStatusCodeAndHeadersAndValue, fromStatusCodeAndValue, fromStatusCodeConvertibleAndHeadersAndT, fromToEntityMarshallerfromEntityStreamingSupportAndByteStringSourceMarshaller, fromEntityStreamingSupportAndEntityMarshaller, liftMarshaller, liftMarshallerConversionpublic static final PredefinedToResponseMarshallers$ MODULE$
public Marshaller<HttpResponse,HttpResponse> fromResponse()
fromResponse in interface PredefinedToResponseMarshallerspublic Marshaller<StatusCode,HttpResponse> fromStatusCode()
PredefinedToResponseMarshallerstext-plain entity containing the status.defaultMessage or an empty entity
for status codes that don't allow a response.fromStatusCode in interface PredefinedToResponseMarshallerspublic Marshaller<scala.Tuple2<StatusCode,scala.collection.immutable.Seq<HttpHeader>>,HttpResponse> fromStatusCodeAndHeaders()
PredefinedToResponseMarshallerstext-plain entity containing the status.defaultMessage or an empty entity
for status codes that don't allow a response.fromStatusCodeAndHeaders in interface PredefinedToResponseMarshallers