Skip to content

Make it easier to create custom HttpExchangeAdapter #36374

@rstoyanchev

Description

@rstoyanchev

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.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions