spring-framework / org.springframework.remoting.httpinvoker / HttpComponentsHttpInvokerRequestExecutor / setConnectionRequestTimeout

setConnectionRequestTimeout

open fun setConnectionRequestTimeout(connectionRequestTimeout: Int): Unit

Set the timeout in milliseconds used when requesting a connection from the connection manager using the underlying HttpClient. A timeout value of 0 specifies an infinite timeout.

Additional properties can be configured by specifying a RequestConfig instance on a custom HttpClient.

Parameters

connectionRequestTimeout - the timeout value to request a connection in milliseconds

See Also
RequestConfig#getConnectionRequestTimeout()