Packages

class RouteTestResult extends AnyRef

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

Source
RouteTestResultComponent.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RouteTestResult
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RouteTestResult(timeout: FiniteDuration)(implicit fm: Materializer)

Value Members

  1. def chunks: Seq[ChunkStreamPart]
  2. def chunksStream: Source[ChunkStreamPart, Any]
  3. def entity: ResponseEntity

    Returns a "fresh" entity with a "fresh" unconsumed byte- or chunk stream (if not strict)

  4. def handled: Boolean
  5. def rejections: Seq[Rejection]
  6. def response: HttpResponse
  7. def ~>[T](f: (RouteTestResult) => T): T