Class HostConnectionPoolSpec.PassThrough$
java.lang.Object
org.apache.pekko.http.impl.engine.client.HostConnectionPoolSpec.PassThrough$
- All Implemented Interfaces:
Serializable
,HostConnectionPoolSpec.ClientServerImplementation
,scala.Equals
,scala.Product
- Enclosing class:
- HostConnectionPoolSpec
public class HostConnectionPoolSpec.PassThrough$
extends Object
implements HostConnectionPoolSpec.ClientServerImplementation, scala.Product, Serializable
Transport that just passes through requests / responses
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HostConnectionPoolSpec.PassThrough$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Specifies 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 middleorg.apache.pekko.http.impl.engine.client.HostConnectionPoolSpec.PassThrough$.PassThroughTransport$
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
PassThrough$
public PassThrough$()
-
-
Method Details
-
PassThroughTransport
public org.apache.pekko.http.impl.engine.client.HostConnectionPoolSpec.PassThrough$.PassThroughTransport$ PassThroughTransport() -
failsHandlerInputWhenHandlerOutputFails
public boolean failsHandlerInputWhenHandlerOutputFails()Description copied from interface:HostConnectionPoolSpec.ClientServerImplementation
Specifies 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:
failsHandlerInputWhenHandlerOutputFails
in interfaceHostConnectionPoolSpec.ClientServerImplementation
- Returns:
- (undocumented)
-