Class ClientConnectionSettings

  • Direct Known Subclasses:
    ClientConnectionSettings

    public abstract class ClientConnectionSettings
    extends java.lang.Object
    Public API but not intended for subclassing
    • Constructor Detail

      • ClientConnectionSettings

        public ClientConnectionSettings()
    • Method Detail

      • getConnectingTimeout

        public final scala.concurrent.duration.FiniteDuration getConnectingTimeout()
      • getIdleTimeout

        public final scala.concurrent.duration.Duration getIdleTimeout()
      • getSocketOptions

        public final java.lang.Iterable<akka.io.Inet.SocketOption> getSocketOptions()
      • getUserAgentHeader

        public final java.util.Optional<UserAgent> getUserAgentHeader()
      • getLogUnencryptedNetworkBytes

        public final java.util.Optional<java.lang.Object> getLogUnencryptedNetworkBytes()
      • getStreamCancellationDelay

        public final scala.concurrent.duration.FiniteDuration getStreamCancellationDelay()
      • getRequestHeaderSizeHint

        public final int getRequestHeaderSizeHint()
      • getWebsocketRandomFactory

        public final java.util.function.Supplier<java.util.Random> getWebsocketRandomFactory()
      • getLocalAddress

        public final java.util.Optional<java.net.InetSocketAddress> getLocalAddress()
      • getTransport

        public ClientTransport getTransport()
        The underlying transport used to connect to hosts. By default ClientTransport.TCP is used.
      • withConnectingTimeout

        public abstract ClientConnectionSettings withConnectingTimeout​(scala.concurrent.duration.FiniteDuration newValue)
      • withIdleTimeout

        public abstract ClientConnectionSettings withIdleTimeout​(scala.concurrent.duration.Duration newValue)
      • withStreamCancellationDelay

        public abstract ClientConnectionSettings withStreamCancellationDelay​(scala.concurrent.duration.FiniteDuration newValue)
      • withLogUnencryptedNetworkBytes

        public ClientConnectionSettings withLogUnencryptedNetworkBytes​(java.util.Optional<java.lang.Object> newValue)
      • withWebsocketRandomFactory

        public ClientConnectionSettings withWebsocketRandomFactory​(java.util.function.Supplier<java.util.Random> newValue)
      • withSocketOptions

        public ClientConnectionSettings withSocketOptions​(java.lang.Iterable<akka.io.Inet.SocketOption> newValue)
      • withLocalAddress

        public ClientConnectionSettings withLocalAddress​(java.util.Optional<java.net.InetSocketAddress> newValue)