Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce way to convert ClientHttpResponse to desired type #31597

Closed
poutsma opened this issue Nov 13, 2023 · 0 comments
Closed

Introduce way to convert ClientHttpResponse to desired type #31597

poutsma opened this issue Nov 13, 2023 · 0 comments
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@poutsma
Copy link
Contributor

poutsma commented Nov 13, 2023

Unlike WebClient::exchange, which has ClientResponse::bodyToMono and bodyToFlux, there is no way in RestClient::exchange to convert the response body to a desired type using message converters. This should be added.

@poutsma poutsma added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement labels Nov 13, 2023
@poutsma poutsma added this to the 6.1.0 milestone Nov 13, 2023
@poutsma poutsma self-assigned this Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant