Package akka.http.impl.settings
Class ClientConnectionSettingsImpl
- java.lang.Object
-
- akka.http.javadsl.settings.ClientConnectionSettings
-
- akka.http.scaladsl.settings.ClientConnectionSettings
-
- akka.http.impl.settings.ClientConnectionSettingsImpl
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public final class ClientConnectionSettingsImpl extends ClientConnectionSettings implements scala.Product, java.io.Serializable
INTERNAL API- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.http.scaladsl.settings.ClientConnectionSettings
ClientConnectionSettings.LogUnencryptedNetworkBytes$
-
-
Constructor Summary
Constructors Constructor 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<akka.io.Inet.SocketOption> socketOptions, ParserSettings parserSettings, scala.concurrent.duration.FiniteDuration streamCancellationDelay, scala.Option<java.net.InetSocketAddress> localAddress, Http2ClientSettings http2Settings, ClientTransport transport)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static T
apply(akka.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<akka.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()
-
Methods inherited from class akka.http.scaladsl.settings.ClientConnectionSettings
mapHttp2Settings, withConnectingTimeout, withHttp2Settings, withIdleTimeout, withLocalAddress, withLocalAddressOverride, withLogUnencryptedNetworkBytes, withParserSettings, withRequestHeaderSizeHint, withSocketOptions, withStreamCancellationDelay, withTransport, withUserAgentHeader, withWebsocketRandomFactory, withWebsocketSettings
-
Methods inherited from class akka.http.javadsl.settings.ClientConnectionSettings
create, create, create, getConnectingTimeout, getIdleTimeout, getLocalAddress, getLogUnencryptedNetworkBytes, getParserSettings, getRequestHeaderSizeHint, getSocketOptions, getStreamCancellationDelay, getTransport, getUserAgentHeader, getWebsocketRandomFactory, getWebsocketSettings, withLocalAddress, withLogUnencryptedNetworkBytes, withParserSettings, withSocketOptions, withTransport, withUserAgentHeader, withWebsocketRandomFactory, withWebsocketSettings
-
-
-
-
Constructor Detail
-
ClientConnectionSettingsImpl
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<akka.io.Inet.SocketOption> socketOptions, ParserSettings parserSettings, scala.concurrent.duration.FiniteDuration streamCancellationDelay, scala.Option<java.net.InetSocketAddress> localAddress, Http2ClientSettings http2Settings, ClientTransport transport)
-
-
Method Detail
-
fromSubConfig
public static ClientConnectionSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config inner)
-
prefix
protected static java.lang.String prefix()
-
apply
public static T apply(akka.actor.ActorSystem system)
-
apply
public static T apply(java.lang.String configOverrides)
-
apply
public static T apply(com.typesafe.config.Config config)
-
userAgentHeader
public scala.Option<User$minusAgent> userAgentHeader()
- Specified by:
userAgentHeader
in classClientConnectionSettings
-
connectingTimeout
public scala.concurrent.duration.FiniteDuration connectingTimeout()
- Specified by:
connectingTimeout
in classClientConnectionSettings
-
idleTimeout
public scala.concurrent.duration.Duration idleTimeout()
- Specified by:
idleTimeout
in classClientConnectionSettings
-
requestHeaderSizeHint
public int requestHeaderSizeHint()
- Specified by:
requestHeaderSizeHint
in classClientConnectionSettings
-
logUnencryptedNetworkBytes
public scala.Option<java.lang.Object> logUnencryptedNetworkBytes()
- Specified by:
logUnencryptedNetworkBytes
in classClientConnectionSettings
-
websocketSettings
public WebSocketSettings websocketSettings()
- Specified by:
websocketSettings
in classClientConnectionSettings
-
socketOptions
public scala.collection.immutable.Seq<akka.io.Inet.SocketOption> socketOptions()
- Specified by:
socketOptions
in classClientConnectionSettings
-
parserSettings
public ParserSettings parserSettings()
- Specified by:
parserSettings
in classClientConnectionSettings
-
streamCancellationDelay
public scala.concurrent.duration.FiniteDuration streamCancellationDelay()
- Specified by:
streamCancellationDelay
in classClientConnectionSettings
-
localAddress
public scala.Option<java.net.InetSocketAddress> localAddress()
- Specified by:
localAddress
in classClientConnectionSettings
-
http2Settings
public Http2ClientSettings http2Settings()
- Specified by:
http2Settings
in classClientConnectionSettings
-
transport
public ClientTransport transport()
Description copied from class:ClientConnectionSettings
The underlying transport used to connect to hosts. By defaultClientTransport.TCP
is used.- Specified by:
transport
in classClientConnectionSettings
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
websocketRandomFactory
public scala.Function0<java.util.Random> websocketRandomFactory()
- Specified by:
websocketRandomFactory
in classClientConnectionSettings
-
-