Class HostConnectionPoolSpec.KillSwitchedClientTransport
java.lang.Object
org.apache.pekko.http.impl.engine.client.HostConnectionPoolSpec.KillSwitchedClientTransport
- All Implemented Interfaces:
ClientTransport
- Enclosing class:
- HostConnectionPoolSpec
public class HostConnectionPoolSpec.KillSwitchedClientTransport
extends Object
implements ClientTransport
-
Constructor Summary
ConstructorsConstructorDescriptionKillSwitchedClientTransport
(org.apache.pekko.stream.SharedKillSwitch connectionKillSwitch) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,
org.apache.pekko.util.ByteString, scala.concurrent.Future<Http.OutgoingConnection>> connectTo
(String host, int port, ClientConnectionSettings settings, org.apache.pekko.actor.ActorSystem system)
-
Constructor Details
-
Method Details
-
connectTo
public org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, connectToscala.concurrent.Future<Http.OutgoingConnection>> (String host, int port, ClientConnectionSettings settings, org.apache.pekko.actor.ActorSystem system) - Specified by:
connectTo
in interfaceClientTransport
-