Package akka.http.scaladsl.testkit
Interface MarshallingTestUtils
-
- All Known Subinterfaces:
RouteTest
,ScalatestRouteTest
,ScalatestUtils
,Specs2RouteTest
,Specs2Utils
public interface MarshallingTestUtils
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> HttpEntity.Strict
marshal(T value, Marshaller<T,RequestEntity> evidence$1, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat)
scala.concurrent.duration.FiniteDuration
marshallingTimeout()
<T> HttpResponse
marshalToResponse(T value, HttpRequest request, Marshaller<T,HttpResponse> evidence$3, scala.concurrent.ExecutionContext ec)
<T> HttpResponse
marshalToResponseForRequestAccepting(T value, scala.collection.immutable.Seq<MediaRange> mediaRanges, Marshaller<T,HttpResponse> evidence$2, scala.concurrent.ExecutionContext ec)
com.typesafe.config.Config
testConfig()
<T> scala.util.Try<T>
unmarshal(HttpEntity entity, Unmarshaller<HttpEntity,T> evidence$5, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat)
<T> T
unmarshalValue(HttpEntity entity, Unmarshaller<HttpEntity,T> evidence$4, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat)
-
-
-
Method Detail
-
marshal
<T> HttpEntity.Strict marshal(T value, Marshaller<T,RequestEntity> evidence$1, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat)
-
marshalToResponse
<T> HttpResponse marshalToResponse(T value, HttpRequest request, Marshaller<T,HttpResponse> evidence$3, scala.concurrent.ExecutionContext ec)
-
marshalToResponseForRequestAccepting
<T> HttpResponse marshalToResponseForRequestAccepting(T value, scala.collection.immutable.Seq<MediaRange> mediaRanges, Marshaller<T,HttpResponse> evidence$2, scala.concurrent.ExecutionContext ec)
-
marshallingTimeout
scala.concurrent.duration.FiniteDuration marshallingTimeout()
-
testConfig
com.typesafe.config.Config testConfig()
-
unmarshal
<T> scala.util.Try<T> unmarshal(HttpEntity entity, Unmarshaller<HttpEntity,T> evidence$5, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat)
-
unmarshalValue
<T> T unmarshalValue(HttpEntity entity, Unmarshaller<HttpEntity,T> evidence$4, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat)
-
-