Class HttpServerTestSetupBase
java.lang.Object
org.apache.pekko.http.impl.engine.server.HttpServerTestSetupBase
- Direct Known Subclasses:
HttpServerSpec.TestSetup
,HttpServerWithExplicitSchedulerSpec.TestSetup
,WebSocketServerSpec.TestSetup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
expectNoRequest
(scala.concurrent.duration.FiniteDuration max) void
expectResponseWithWipedDate
(String expected) void
void
abstract org.apache.pekko.stream.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()
netOut()
org.apache.pekko.stream.testkit.TestSubscriber.Probe<HttpRequest>
requests()
org.apache.pekko.stream.testkit.TestPublisher.Probe<HttpResponse>
void
void
send
(org.apache.pekko.util.ByteString data) settings()
void
void
abstract org.apache.pekko.actor.ActorSystem
system()
-
Constructor Details
-
HttpServerTestSetupBase
public HttpServerTestSetupBase()
-
-
Method Details
-
closeNetworkInput
public void closeNetworkInput() -
expectNetworkClose
public void expectNetworkClose() -
expectNoRequest
public void expectNoRequest(scala.concurrent.duration.FiniteDuration max) -
expectRequest
-
expectResponseWithWipedDate
-
expectSubscribe
public void expectSubscribe() -
expectSubscribeAndNetworkClose
public void expectSubscribeAndNetworkClose() -
materializer
public abstract org.apache.pekko.stream.Materializer materializer() -
modifyServer
public org.apache.pekko.stream.scaladsl.BidiFlow<HttpResponse,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, modifyServerorg.apache.pekko.stream.TLSProtocol.SslTlsInbound, HttpRequest, org.apache.pekko.NotUsed> (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) -
netIn
public org.apache.pekko.stream.testkit.TestPublisher.Probe<org.apache.pekko.util.ByteString> netIn() -
netOut
-
requests
-
responses
-
send
public void send(org.apache.pekko.util.ByteString data) -
send
-
settings
-
shutdownBlueprint
public void shutdownBlueprint() -
simpleResponse
public void simpleResponse() -
system
public abstract org.apache.pekko.actor.ActorSystem system() -
wipeDate
-