WebClientException should allow access to status code of the response [SPR-15824] #20379
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
spring-projects-issues commentedJul 27, 2017
•
edited
Simon opened SPR-15824 and commented
The current implementation of the DefaultWebClient and its DEFAULT_STATUS_HANDLER returns a WebClientException if the status code is either a 4xx or a 5xx.
To allow custom retry logic for 5xx errors it would help to have access to the status code from the WebClientException the same way it is supported by the reactor.ipc.netty.http.client.HttpClientException
Affects: 5.0 RC3
Issue Links:
Referenced from: commits 5394cc0
The text was updated successfully, but these errors were encountered: