RouteTest

org.apache.pekko.http.scaladsl.testkit.RouteTest

Attributes

Source
RouteTest.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes
Self type

Members list

Type members

Classlikes

case class DefaultHostInfo(host: Host, securedConnection: Boolean)

Attributes

Companion
object
Source
RouteTest.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
RouteTest.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
abstract class TildeArrow[A, B]

Attributes

Companion
object
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object TildeArrow

Attributes

Companion
class
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any
Self type
TildeArrow.type
abstract class TildeBangArrow[A, B]

Attributes

Companion
object
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any
Self type
implicit class WithTransformation2(request: HttpRequest)

Attributes

Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any

Inherited classlikes

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
Supertypes
class Object
trait Matchable
class Any
class RouteTestResult(timeout: FiniteDuration)(implicit fm: Materializer)

A receptacle for the response or rejections created by a route.

A receptacle for the response or rejections created by a route.

Attributes

Inherited from:
RouteTestResultComponent
Source
RouteTestResultComponent.scala
Supertypes
class Object
trait Matchable
class Any
implicit class WithTransformation[A](value: A)

Attributes

Inherited from:
TransformerPipelineSupport
Source
TransformerPipelineSupport.scala
Supertypes
class Object
trait Matchable
class Any
implicit class WithTransformerConcatenation[A, B](f: A => B) extends A => B

Attributes

Inherited from:
TransformerPipelineSupport
Source
TransformerPipelineSupport.scala
Supertypes
trait A => B
class Object
trait Matchable
class Any

Inherited types

Value members

Concrete methods

def actorSystemNameFrom(clazz: Class[_]): String

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala
def check[T](body: => T): RouteTestResult => T

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala
def cleanUp(): Unit

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala
def entityAs[T : ClassTag](implicit evidence$1: FromEntityUnmarshaller[T], evidence$2: ClassTag[T], timeout: Duration): T

Attributes

Source
RouteTest.scala

Asserts that the received response is a WebSocket upgrade response and the extracts the chosen subprotocol and passes it to the handler.

Asserts that the received response is a WebSocket upgrade response and the extracts the chosen subprotocol and passes it to the handler.

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala
def header[T >: Null <: HttpHeader : ClassTag]: Option[T]

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala
def responseAs[T : ClassTag](implicit evidence$3: FromResponseUnmarshaller[T], evidence$4: ClassTag[T], timeout: Duration): T

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

A dummy that can be used as ~> runRoute to run the route but without blocking for the result. The result of the pipeline is the result that can later be checked with check. See the "separate running route from checking" example from ScalatestRouteTestSpec.scala.

A dummy that can be used as ~> runRoute to run the route but without blocking for the result. The result of the pipeline is the result that can later be checked with check. See the "separate running route from checking" example from ScalatestRouteTestSpec.scala.

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Inherited methods

def WS(uri: Uri, clientSideHandler: Flow[Message, Message, Any], subprotocols: Seq[String])(implicit materializer: Materializer): HttpRequest

Attributes

Inherited from:
WSTestRequestBuilding
Source
WSTestRequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
def failTest(msg: String): Nothing

Attributes

Inherited from:
RouteTestResultComponent
Source
RouteTestResultComponent.scala
def logValue[T](logFun: T => Unit): T => T
def marshal[T : ToEntityMarshaller](value: T)(implicit evidence$1: ToEntityMarshaller[T], ec: ExecutionContext, mat: Materializer): Strict

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala
def marshalToResponse[T : ToResponseMarshaller](value: T, request: HttpRequest)(implicit evidence$3: ToResponseMarshaller[T], ec: ExecutionContext): HttpResponse

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
def unmarshal[T : FromEntityUnmarshaller](entity: HttpEntity)(implicit evidence$5: FromEntityUnmarshaller[T], ec: ExecutionContext, mat: Materializer): Try[T]

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala
def unmarshalValue[T : FromEntityUnmarshaller](entity: HttpEntity)(implicit evidence$4: FromEntityUnmarshaller[T], ec: ExecutionContext, mat: Materializer): T

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala

Inherited fields

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Implicits

Implicits

final implicit def WithTransformation2(request: HttpRequest): WithTransformation2

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala
implicit val materializer: Materializer

Attributes

Source
RouteTest.scala
implicit val system: ActorSystem

Attributes

Source
RouteTest.scala

Inherited implicits

final implicit def WithTransformation[A](value: A): WithTransformation[A]