-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Make it easier to create custom HttpExchangeAdapter #36374
Copy link
Copy link
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
It can be useful to be able to customize response handling in RestClientAdapter or WebClientAdapter, e.g. for custom response handling via .exchange((request, response) -> {...}) instead of the .retrieve() workflow. Currently both adapters are final. Rather than making them open of extension, we can provide access to new request, and that would make it easy to use the built-in adapters as a delegate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement