You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upgrade HttpComponentsHttpInvokerRequestExecutor to require Apache HttpComponents 4.3 [SPR-11113] #15739
We didn't want to bump the minimum version up to the recently released HttpComponents 4.3 for Spring 4.0 quite yet, at least not for HttpComponentsHttpInvokerRequestExecutor - rather just for async support in other places.
However, due to plenty of deprecations, we should raise the bar in Spring 4.1 then, once HttpComponents 4.3 has been out for half a year at least. (Note: We raised to HttpComponents 4.2 in Spring 3.2 after about the same time of availability.)
HttpComponents 4.3 is now required and has been updated to handle both the new CloseableHttpClient and the (now) deprecated HttpClient. In both cases, socket and read timeout set on the executor instance takes precedence over values set on the HttpClient directly.
If you want the defaults of the current HttpClient to takes precedence you can override createRequestConfig as explained in the Javadoc.
Activity
spring-projects-issues commentedon Dec 19, 2014
Stéphane Nicoll commented
#17135 actually revealed that our support was broken with 4.3 so we should probably review the current patch and apply it for 4.1 still.
spring-projects-issues commentedon Dec 22, 2014
Stéphane Nicoll commented
HttpComponents 4.3 is now required and has been updated to handle both the new
CloseableHttpClientand the (now) deprecatedHttpClient. In both cases, socket and read timeout set on the executor instance takes precedence over values set on theHttpClientdirectly.If you want the defaults of the current
HttpClientto takes precedence you can overridecreateRequestConfigas explained in the Javadoc.