Class HostConnectionPoolSpec.TopLevelApiClientServerImplementation
java.lang.Object
org.apache.pekko.http.impl.engine.client.HostConnectionPoolSpec.TopLevelApiClientServerImplementation
- All Implemented Interfaces:
- HostConnectionPoolSpec.ClientServerImplementation
- Direct Known Subclasses:
- HostConnectionPoolSpec.PekkoHttpEngineTCP$,- HostConnectionPoolSpec.PekkoHttpEngineTLS$
- Enclosing class:
- HostConnectionPoolSpec
public abstract class HostConnectionPoolSpec.TopLevelApiClientServerImplementation
extends Object
implements HostConnectionPoolSpec.ClientServerImplementation
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract org.apache.pekko.stream.scaladsl.Source<Http.IncomingConnection,scala.concurrent.Future<Http.ServerBinding>> protected abstract org.apache.pekko.stream.scaladsl.Flow<HttpRequest,HttpResponse, scala.concurrent.Future<Http.OutgoingConnection>> clientConnectionFlow(Http.ServerBinding serverBinding, org.apache.pekko.stream.SharedKillSwitch connectionKillSwitch) booleanSpecifies if the transport implementation will fail the handler request input side if an error is encountered at the response output side.org.apache.pekko.stream.scaladsl.BidiFlow<HttpResponse,HttpResponse, HttpRequest, HttpRequest, scala.concurrent.Future<Http.OutgoingConnection>> get(org.apache.pekko.stream.SharedKillSwitch connectionKillSwitch) Returns a client / server implementation that include the kill switch flow in the middle
- 
Constructor Details- 
TopLevelApiClientServerImplementationpublic TopLevelApiClientServerImplementation()
 
- 
- 
Method Details- 
bindServerSourceprotected abstract org.apache.pekko.stream.scaladsl.Source<Http.IncomingConnection,scala.concurrent.Future<Http.ServerBinding>> bindServerSource()
- 
failsHandlerInputWhenHandlerOutputFailspublic boolean failsHandlerInputWhenHandlerOutputFails()Description copied from interface:HostConnectionPoolSpec.ClientServerImplementationSpecifies if the transport implementation will fail the handler request input side if an error is encountered at the response output side.I haven't decided yet what the right behavior should be. - Specified by:
- failsHandlerInputWhenHandlerOutputFailsin interface- HostConnectionPoolSpec.ClientServerImplementation
- Returns:
- (undocumented)
 
 
-