RestTemplate can't set timeout pre request [SPR-17624] #22156
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
ailin zhou opened SPR-17624 and commented
Use RestTemplate send request to difference url, we want different request have different SocketTimeout parameter.
Currently RestTemplate doesn't have any interface costum timeout for pre request.
The HttpComponentsClientHttpRequestFactory can custum RequestConfig but when use with RestTemplate we have no chance to set timeout parameter.
No further details from SPR-17624
The text was updated successfully, but these errors were encountered: