public class LowLevelOutgoingConnectionSpec.TestSetup
extends java.lang.Object
Constructor and Description |
---|
TestSetup(int maxResponseContentLength,
java.lang.String config) |
Modifier and Type | Method and Description |
---|---|
void |
closeNetworkInput() |
HttpResponse |
expectResponse() |
org.scalatest.compatible.Assertion |
expectWireData(java.lang.String s) |
org.apache.pekko.stream.testkit.TestPublisher.ManualProbe<org.apache.pekko.util.ByteString> |
netIn() |
org.apache.pekko.stream.testkit.StreamTestKit.PublisherProbeSubscription<org.apache.pekko.util.ByteString> |
netInSub() |
org.apache.pekko.stream.testkit.TestSubscriber.ManualProbe<org.apache.pekko.util.ByteString> |
netOut() |
org.reactivestreams.Subscription |
netOutSub() |
org.apache.pekko.stream.testkit.TestPublisher.ManualProbe<HttpRequest> |
requests() |
org.apache.pekko.stream.testkit.StreamTestKit.PublisherProbeSubscription<HttpRequest> |
requestsSub() |
org.apache.pekko.stream.testkit.TestSubscriber.ManualProbe<HttpResponse> |
responses() |
org.reactivestreams.Subscription |
responsesSub() |
org.scalatest.compatible.Assertion |
sendStandardRequest() |
void |
sendWireData(org.apache.pekko.util.ByteString data) |
void |
sendWireData(java.lang.String data) |
ClientConnectionSettings |
settings() |
java.lang.String |
wipeDate(java.lang.String string) |
public TestSetup(int maxResponseContentLength, java.lang.String config)
public org.apache.pekko.stream.testkit.TestPublisher.ManualProbe<HttpRequest> requests()
public org.apache.pekko.stream.testkit.TestSubscriber.ManualProbe<HttpResponse> responses()
public ClientConnectionSettings settings()
public org.apache.pekko.stream.testkit.TestSubscriber.ManualProbe<org.apache.pekko.util.ByteString> netOut()
public org.apache.pekko.stream.testkit.TestPublisher.ManualProbe<org.apache.pekko.util.ByteString> netIn()
public java.lang.String wipeDate(java.lang.String string)
public org.apache.pekko.stream.testkit.StreamTestKit.PublisherProbeSubscription<org.apache.pekko.util.ByteString> netInSub()
public org.reactivestreams.Subscription netOutSub()
public org.apache.pekko.stream.testkit.StreamTestKit.PublisherProbeSubscription<HttpRequest> requestsSub()
public org.reactivestreams.Subscription responsesSub()
public void sendWireData(java.lang.String data)
public void sendWireData(org.apache.pekko.util.ByteString data)
public org.scalatest.compatible.Assertion expectWireData(java.lang.String s)
public void closeNetworkInput()
public org.scalatest.compatible.Assertion sendStandardRequest()
public HttpResponse expectResponse()