Class ClientConnectionSettings
java.lang.Object
org.apache.pekko.http.javadsl.settings.ClientConnectionSettings
- Direct Known Subclasses:
- ClientConnectionSettings
Public API but not intended for subclassing
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ClientConnectionSettingscreate(com.typesafe.config.Config config) static ClientConnectionSettingsstatic ClientConnectionSettingscreate(org.apache.pekko.actor.ActorSystem system) final DurationIn 2.0.0, the return type of this method changed fromscala.concurrent.duration.Durationtojava.time.Duration.final DurationIn 2.0.0, the return type of this method changed fromscala.concurrent.duration.Durationtojava.time.Duration.final Optional<InetSocketAddress>final ParserSettingsfinal intfinal Iterable<org.apache.pekko.io.Inet.SocketOption>final DurationIn 2.0.0, the return type of this method changed fromscala.concurrent.duration.Durationtojava.time.Duration.The underlying transport used to connect to hosts.final WebSocketSettingsabstract ClientConnectionSettingswithConnectingTimeout(Duration newValue) Java APIabstract ClientConnectionSettingswithConnectingTimeout(scala.concurrent.duration.FiniteDuration newValue) abstract ClientConnectionSettingswithIdleTimeout(Duration newValue) Java APIabstract ClientConnectionSettingswithIdleTimeout(scala.concurrent.duration.Duration newValue) withLocalAddress(Optional<InetSocketAddress> newValue) withLogUnencryptedNetworkBytes(Optional<Object> newValue) withParserSettings(ParserSettings newValue) abstract ClientConnectionSettingswithRequestHeaderSizeHint(int newValue) withSocketOptions(Iterable<org.apache.pekko.io.Inet.SocketOption> newValue) abstract ClientConnectionSettingswithStreamCancellationDelay(Duration newValue) Java APIabstract ClientConnectionSettingswithStreamCancellationDelay(scala.concurrent.duration.FiniteDuration newValue) withTransport(ClientTransport newValue) withUserAgentHeader(Optional<UserAgent> newValue) withWebsocketRandomFactory(Supplier<Random> newValue) withWebsocketSettings(WebSocketSettings newValue) 
- 
Constructor Details- 
ClientConnectionSettingspublic ClientConnectionSettings()
 
- 
- 
Method Details- 
create
- 
create
- 
create
- 
getConnectingTimeoutIn 2.0.0, the return type of this method changed fromscala.concurrent.duration.Durationtojava.time.Duration.- Returns:
- (undocumented)
 
- 
getParserSettings
- 
getIdleTimeoutIn 2.0.0, the return type of this method changed fromscala.concurrent.duration.Durationtojava.time.Duration.- Returns:
- (undocumented)
 
- 
getSocketOptions
- 
getUserAgentHeader
- 
getLogUnencryptedNetworkBytes
- 
getStreamCancellationDelayIn 2.0.0, the return type of this method changed fromscala.concurrent.duration.Durationtojava.time.Duration.- Returns:
- (undocumented)
 
- 
getRequestHeaderSizeHintpublic final int getRequestHeaderSizeHint()
- 
getWebsocketSettings
- 
getWebsocketRandomFactory
- 
getLocalAddress
- 
getTransportThe underlying transport used to connect to hosts. By defaultClientTransport.TCPis used.
- 
withConnectingTimeoutpublic abstract ClientConnectionSettings withConnectingTimeout(scala.concurrent.duration.FiniteDuration newValue) 
- 
withIdleTimeoutpublic abstract ClientConnectionSettings withIdleTimeout(scala.concurrent.duration.Duration newValue) 
- 
withRequestHeaderSizeHint
- 
withStreamCancellationDelaypublic abstract ClientConnectionSettings withStreamCancellationDelay(scala.concurrent.duration.FiniteDuration newValue) 
- 
withConnectingTimeoutJava API- Parameters:
- newValue- (undocumented)
- Returns:
- (undocumented)
- Since:
- 1.3.0
 
- 
withIdleTimeoutJava API- Parameters:
- newValue- (undocumented)
- Returns:
- (undocumented)
- Since:
- 1.3.0
 
- 
withStreamCancellationDelayJava API- Parameters:
- newValue- (undocumented)
- Returns:
- (undocumented)
- Since:
- 1.3.0
 
- 
withUserAgentHeader
- 
withLogUnencryptedNetworkBytes
- 
withWebsocketRandomFactory
- 
withWebsocketSettings
- 
withSocketOptionspublic ClientConnectionSettings withSocketOptions(Iterable<org.apache.pekko.io.Inet.SocketOption> newValue) 
- 
withParserSettings
- 
withLocalAddress
- 
withTransport
 
-