public static class RouteTestResultComponent.RouteTestResult
extends java.lang.Object
Constructor and Description |
---|
RouteTestResult(scala.concurrent.duration.FiniteDuration timeout,
org.apache.pekko.stream.Materializer fm) |
Modifier and Type | Method and Description |
---|---|
RouteTestResultComponent.RouteTestResult |
awaitResult() |
scala.collection.immutable.Seq<HttpEntity.ChunkStreamPart> |
chunks() |
org.apache.pekko.stream.scaladsl.Source<HttpEntity.ChunkStreamPart,java.lang.Object> |
chunksStream() |
ResponseEntity |
entity()
Returns a "fresh" entity with a "fresh" unconsumed byte- or chunk stream (if not strict)
|
boolean |
handled() |
void |
handleResponse(HttpResponse r) |
void |
handleResult(RouteResult rr) |
HttpResponse |
rawResponse() |
scala.collection.immutable.Seq<Rejection> |
rejections() |
HttpResponse |
response() |
public RouteTestResult(scala.concurrent.duration.FiniteDuration timeout, org.apache.pekko.stream.Materializer fm)
public RouteTestResultComponent.RouteTestResult awaitResult()
public scala.collection.immutable.Seq<HttpEntity.ChunkStreamPart> chunks()
public org.apache.pekko.stream.scaladsl.Source<HttpEntity.ChunkStreamPart,java.lang.Object> chunksStream()
public ResponseEntity entity()
public void handleResponse(HttpResponse r)
public void handleResult(RouteResult rr)
public boolean handled()
public HttpResponse rawResponse()
public scala.collection.immutable.Seq<Rejection> rejections()
public HttpResponse response()