public final class ClientConnectionSettingsImpl extends ClientConnectionSettings implements scala.Product, java.io.Serializable
ClientConnectionSettings.LogUnencryptedNetworkBytes$
Constructor and Description |
---|
ClientConnectionSettingsImpl(scala.Option<User$minusAgent> userAgentHeader,
scala.concurrent.duration.FiniteDuration connectingTimeout,
scala.concurrent.duration.Duration idleTimeout,
int requestHeaderSizeHint,
scala.Option<java.lang.Object> logUnencryptedNetworkBytes,
WebSocketSettings websocketSettings,
scala.collection.immutable.Seq<org.apache.pekko.io.Inet.SocketOption> socketOptions,
ParserSettings parserSettings,
scala.concurrent.duration.FiniteDuration streamCancellationDelay,
scala.Option<java.net.InetSocketAddress> localAddress,
Http2ClientSettings http2Settings,
ClientTransport transport) |
Modifier and Type | Method and Description |
---|---|
static T |
apply(org.apache.pekko.actor.ActorSystem system) |
static T |
apply(com.typesafe.config.Config config) |
static T |
apply(java.lang.String configOverrides) |
scala.concurrent.duration.FiniteDuration |
connectingTimeout() |
static ClientConnectionSettingsImpl |
fromSubConfig(com.typesafe.config.Config root,
com.typesafe.config.Config inner) |
Http2ClientSettings |
http2Settings() |
scala.concurrent.duration.Duration |
idleTimeout() |
scala.Option<java.net.InetSocketAddress> |
localAddress() |
scala.Option<java.lang.Object> |
logUnencryptedNetworkBytes() |
ParserSettings |
parserSettings() |
protected static java.lang.String |
prefix() |
java.lang.String |
productPrefix() |
int |
requestHeaderSizeHint() |
scala.collection.immutable.Seq<org.apache.pekko.io.Inet.SocketOption> |
socketOptions() |
scala.concurrent.duration.FiniteDuration |
streamCancellationDelay() |
ClientTransport |
transport()
The underlying transport used to connect to hosts.
|
scala.Option<User$minusAgent> |
userAgentHeader() |
scala.Function0<java.util.Random> |
websocketRandomFactory() |
WebSocketSettings |
websocketSettings() |
mapHttp2Settings, withConnectingTimeout, withHttp2Settings, withIdleTimeout, withLocalAddress, withLocalAddressOverride, withLogUnencryptedNetworkBytes, withParserSettings, withRequestHeaderSizeHint, withSocketOptions, withStreamCancellationDelay, withTransport, withUserAgentHeader, withWebsocketRandomFactory, withWebsocketSettings
create, create, create, getConnectingTimeout, getIdleTimeout, getLocalAddress, getLogUnencryptedNetworkBytes, getParserSettings, getRequestHeaderSizeHint, getSocketOptions, getStreamCancellationDelay, getTransport, getUserAgentHeader, getWebsocketRandomFactory, getWebsocketSettings, withLocalAddress, withLogUnencryptedNetworkBytes, withParserSettings, withSocketOptions, withTransport, withUserAgentHeader, withWebsocketRandomFactory, withWebsocketSettings
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ClientConnectionSettingsImpl(scala.Option<User$minusAgent> userAgentHeader, scala.concurrent.duration.FiniteDuration connectingTimeout, scala.concurrent.duration.Duration idleTimeout, int requestHeaderSizeHint, scala.Option<java.lang.Object> logUnencryptedNetworkBytes, WebSocketSettings websocketSettings, scala.collection.immutable.Seq<org.apache.pekko.io.Inet.SocketOption> socketOptions, ParserSettings parserSettings, scala.concurrent.duration.FiniteDuration streamCancellationDelay, scala.Option<java.net.InetSocketAddress> localAddress, Http2ClientSettings http2Settings, ClientTransport transport)
public static ClientConnectionSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config inner)
protected static java.lang.String prefix()
public static T apply(org.apache.pekko.actor.ActorSystem system)
public static T apply(java.lang.String configOverrides)
public static T apply(com.typesafe.config.Config config)
public scala.Option<User$minusAgent> userAgentHeader()
userAgentHeader
in class ClientConnectionSettings
public scala.concurrent.duration.FiniteDuration connectingTimeout()
connectingTimeout
in class ClientConnectionSettings
public scala.concurrent.duration.Duration idleTimeout()
idleTimeout
in class ClientConnectionSettings
public int requestHeaderSizeHint()
requestHeaderSizeHint
in class ClientConnectionSettings
public scala.Option<java.lang.Object> logUnencryptedNetworkBytes()
logUnencryptedNetworkBytes
in class ClientConnectionSettings
public WebSocketSettings websocketSettings()
websocketSettings
in class ClientConnectionSettings
public scala.collection.immutable.Seq<org.apache.pekko.io.Inet.SocketOption> socketOptions()
socketOptions
in class ClientConnectionSettings
public ParserSettings parserSettings()
parserSettings
in class ClientConnectionSettings
public scala.concurrent.duration.FiniteDuration streamCancellationDelay()
streamCancellationDelay
in class ClientConnectionSettings
public scala.Option<java.net.InetSocketAddress> localAddress()
localAddress
in class ClientConnectionSettings
public Http2ClientSettings http2Settings()
http2Settings
in class ClientConnectionSettings
public ClientTransport transport()
ClientConnectionSettings
ClientTransport.TCP
is used.transport
in class ClientConnectionSettings
public java.lang.String productPrefix()
productPrefix
in interface scala.Product
public scala.Function0<java.util.Random> websocketRandomFactory()
websocketRandomFactory
in class ClientConnectionSettings