Class DefaultHttpClientFactory.DefaultHttpClientFactoryBuilder
java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.DefaultHttpClientFactory.DefaultHttpClientFactoryBuilder
- Enclosing class:
- DefaultHttpClientFactory
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
maxConnectionsPerRoute
(int maxConnectionsPerRoute) The maximum number of connections per route.maxConnectionsTotal
(int maxConnectionsTotal) The maximum number of connections in total.timeoutMilliseconds
(int timeoutMilliseconds) The timeout threshold.toString()
-
Method Details
-
timeoutMilliseconds
@Nonnull public DefaultHttpClientFactory.DefaultHttpClientFactoryBuilder timeoutMilliseconds(int timeoutMilliseconds) The timeout threshold.- Returns:
this
.
-
maxConnectionsPerRoute
@Nonnull public DefaultHttpClientFactory.DefaultHttpClientFactoryBuilder maxConnectionsPerRoute(int maxConnectionsPerRoute) The maximum number of connections per route.- Returns:
this
.
-
maxConnectionsTotal
@Nonnull public DefaultHttpClientFactory.DefaultHttpClientFactoryBuilder maxConnectionsTotal(int maxConnectionsTotal) The maximum number of connections in total.- Returns:
this
.
-
build
-
toString
-