public abstract class ClientConnectionSettings extends ClientConnectionSettings
Modifier and Type | Class and Description |
---|---|
static class |
ClientConnectionSettings.LogUnencryptedNetworkBytes$ |
Constructor and Description |
---|
ClientConnectionSettings() |
Modifier and Type | Method and Description |
---|---|
static ClientConnectionSettings |
apply(com.typesafe.config.Config config) |
static ClientConnectionSettings |
apply(java.lang.String configOverrides) |
abstract scala.concurrent.duration.FiniteDuration |
connectingTimeout() |
abstract scala.concurrent.duration.Duration |
idleTimeout() |
abstract scala.Option<java.net.InetSocketAddress> |
localAddress() |
abstract scala.Option<java.lang.Object> |
logUnencryptedNetworkBytes() |
abstract ParserSettings |
parserSettings() |
abstract int |
requestHeaderSizeHint() |
abstract scala.collection.immutable.Seq<akka.io.Inet.SocketOption> |
socketOptions() |
abstract scala.Option<User$minusAgent> |
userAgentHeader() |
abstract scala.Function0<java.util.Random> |
websocketRandomFactory() |
ClientConnectionSettings |
withConnectingTimeout(scala.concurrent.duration.FiniteDuration newValue) |
ClientConnectionSettings |
withIdleTimeout(scala.concurrent.duration.Duration newValue) |
ClientConnectionSettings |
withLocalAddress(scala.Option<java.net.InetSocketAddress> newValue) |
ClientConnectionSettings |
withLocalAddressOverride(scala.Option<java.net.InetSocketAddress> overrideLocalAddressOption)
Returns a new instance with the given local address set if the given override is
Some(address) , otherwise
return this instance unchanged. |
ClientConnectionSettings |
withLogUnencryptedNetworkBytes(scala.Option<java.lang.Object> newValue) |
ClientConnectionSettings |
withParserSettings(ParserSettings newValue) |
ClientConnectionSettings |
withRequestHeaderSizeHint(int newValue) |
ClientConnectionSettings |
withSocketOptions(scala.collection.immutable.Seq<akka.io.Inet.SocketOption> newValue) |
ClientConnectionSettings |
withUserAgentHeader(scala.Option<User$minusAgent> newValue) |
ClientConnectionSettings |
withWebsocketRandomFactory(scala.Function0<java.util.Random> newValue) |
create, create, create, getConnectingTimeout, getIdleTimeout, getLocalAddress, getLogUnencryptedNetworkBytes, getParserSettings, getRequestHeaderSizeHint, getSocketOptions, getUserAgentHeader, getWebsocketRandomFactory, withLocalAddress, withLogUnencryptedNetworkBytes, withParserSettings, withSocketOptions, withUserAgentHeader, withWebsocketRandomFactory
public static ClientConnectionSettings apply(com.typesafe.config.Config config)
public static ClientConnectionSettings apply(java.lang.String configOverrides)
public abstract scala.Option<User$minusAgent> userAgentHeader()
public abstract scala.concurrent.duration.FiniteDuration connectingTimeout()
public abstract scala.concurrent.duration.Duration idleTimeout()
public abstract int requestHeaderSizeHint()
public abstract scala.Function0<java.util.Random> websocketRandomFactory()
public abstract scala.collection.immutable.Seq<akka.io.Inet.SocketOption> socketOptions()
public abstract ParserSettings parserSettings()
public abstract scala.Option<java.lang.Object> logUnencryptedNetworkBytes()
public abstract scala.Option<java.net.InetSocketAddress> localAddress()
public ClientConnectionSettings withConnectingTimeout(scala.concurrent.duration.FiniteDuration newValue)
withConnectingTimeout
in class ClientConnectionSettings
public ClientConnectionSettings withIdleTimeout(scala.concurrent.duration.Duration newValue)
withIdleTimeout
in class ClientConnectionSettings
public ClientConnectionSettings withRequestHeaderSizeHint(int newValue)
withRequestHeaderSizeHint
in class ClientConnectionSettings
public ClientConnectionSettings withWebsocketRandomFactory(scala.Function0<java.util.Random> newValue)
public ClientConnectionSettings withUserAgentHeader(scala.Option<User$minusAgent> newValue)
public ClientConnectionSettings withLogUnencryptedNetworkBytes(scala.Option<java.lang.Object> newValue)
public ClientConnectionSettings withSocketOptions(scala.collection.immutable.Seq<akka.io.Inet.SocketOption> newValue)
public ClientConnectionSettings withParserSettings(ParserSettings newValue)
public ClientConnectionSettings withLocalAddress(scala.Option<java.net.InetSocketAddress> newValue)
public ClientConnectionSettings withLocalAddressOverride(scala.Option<java.net.InetSocketAddress> overrideLocalAddressOption)
Some(address)
, otherwise
return this instance unchanged.overrideLocalAddressOption
- (undocumented)