File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
spring-ws-core/src/main/java/org/springframework/ws/transport/http Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,7 @@ public boolean isSingleton() {
200200 }
201201
202202 @ Override
203+ @ SuppressWarnings ("deprecation" )
203204 public CloseableHttpClient getObject () throws Exception {
204205
205206 PoolingHttpClientConnectionManagerBuilder connectionManagerBuilder = PoolingHttpClientConnectionManagerBuilder
@@ -218,7 +219,7 @@ public CloseableHttpClient getObject() throws Exception {
218219 applyMaxConnectionsPerHost (this .connectionManager );
219220
220221 RequestConfig .Builder requestConfigBuilder = RequestConfig .custom () //
221- .setConnectionRequestTimeout (Timeout .of (this .connectionTimeout )) //
222+ .setConnectTimeout (Timeout .of (this .connectionTimeout )) //
222223 .setResponseTimeout (Timeout .of (this .readTimeout ));
223224
224225 HttpClientBuilder httpClientBuilder = HttpClientBuilder .create () //
You can’t perform that action at this time.
0 commit comments