Interface MarshallingTestUtils

All Known Subinterfaces:
RouteTest, ScalatestRouteTest, ScalatestUtils, Specs2RouteTest, Specs2Utils

public interface MarshallingTestUtils
  • Method Details

    • 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)