public abstract class HttpServerTestSetupBase
extends java.lang.Object
Constructor and Description |
---|
HttpServerTestSetupBase() |
Modifier and Type | Method and Description |
---|---|
void |
closeNetworkInput() |
void |
expectNetworkClose() |
void |
expectNoRequest(scala.concurrent.duration.FiniteDuration max) |
HttpRequest |
expectRequest() |
void |
expectResponseWithWipedDate(java.lang.String expected) |
void |
expectSubscribe() |
void |
expectSubscribeAndNetworkClose() |
abstract org.apache.pekko.stream.Materializer |
materializer() |
org.apache.pekko.stream.scaladsl.BidiFlow<HttpResponse,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,HttpRequest,org.apache.pekko.NotUsed> |
modifyServer(org.apache.pekko.stream.scaladsl.BidiFlow<HttpResponse,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,HttpRequest,org.apache.pekko.NotUsed> server) |
org.apache.pekko.stream.testkit.TestPublisher.Probe<org.apache.pekko.util.ByteString> |
netIn() |
ByteStringSinkProbe |
netOut() |
org.apache.pekko.stream.testkit.TestSubscriber.Probe<HttpRequest> |
requests() |
org.apache.pekko.stream.testkit.TestPublisher.Probe<HttpResponse> |
responses() |
void |
send(org.apache.pekko.util.ByteString data) |
void |
send(java.lang.String string) |
ServerSettings |
settings() |
void |
shutdownBlueprint() |
void |
simpleResponse() |
abstract org.apache.pekko.actor.ActorSystem |
system() |
java.lang.String |
wipeDate(java.lang.String string) |
public void closeNetworkInput()
public void expectNetworkClose()
public void expectNoRequest(scala.concurrent.duration.FiniteDuration max)
public HttpRequest expectRequest()
public void expectResponseWithWipedDate(java.lang.String expected)
public void expectSubscribe()
public void expectSubscribeAndNetworkClose()
public abstract org.apache.pekko.stream.Materializer materializer()
public org.apache.pekko.stream.scaladsl.BidiFlow<HttpResponse,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,HttpRequest,org.apache.pekko.NotUsed> modifyServer(org.apache.pekko.stream.scaladsl.BidiFlow<HttpResponse,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,HttpRequest,org.apache.pekko.NotUsed> server)
public org.apache.pekko.stream.testkit.TestPublisher.Probe<org.apache.pekko.util.ByteString> netIn()
public ByteStringSinkProbe netOut()
public org.apache.pekko.stream.testkit.TestSubscriber.Probe<HttpRequest> requests()
public org.apache.pekko.stream.testkit.TestPublisher.Probe<HttpResponse> responses()
public void send(org.apache.pekko.util.ByteString data)
public void send(java.lang.String string)
public ServerSettings settings()
public void shutdownBlueprint()
public void simpleResponse()
public abstract org.apache.pekko.actor.ActorSystem system()
public java.lang.String wipeDate(java.lang.String string)