Skip to content

Add an exchangeForRequiredValue variant to RestClient #34692

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

Closed
sdeleuze opened this issue Mar 31, 2025 · 1 comment
Closed

Add an exchangeForRequiredValue variant to RestClient #34692

sdeleuze opened this issue Mar 31, 2025 · 1 comment
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@sdeleuze
Copy link
Contributor

See #33779 (comment).

@sdeleuze sdeleuze added in: web Issues in web modules (web, webmvc, webflux, websocket) theme: kotlin An issue related to Kotlin support type: enhancement A general enhancement labels Mar 31, 2025
@sdeleuze sdeleuze added this to the 6.2.6 milestone Mar 31, 2025
@sdeleuze sdeleuze self-assigned this Mar 31, 2025
@sdeleuze sdeleuze reopened this Apr 1, 2025
@sdeleuze sdeleuze changed the title Add a requiredExchange extension to RestClient Add an exchangeForRequiredValue variant to RestClient Apr 1, 2025
@sdeleuze sdeleuze removed the theme: kotlin An issue related to Kotlin support label Apr 1, 2025
@sdeleuze
Copy link
Contributor Author

sdeleuze commented Apr 1, 2025

Reopening the issue to introduce the new method on Java side instead of the Kotlin extension, as this will be useful for both Java and Kotlin developers.

sdeleuze added a commit to sdeleuze/spring-framework that referenced this issue Apr 2, 2025
sdeleuze added a commit to sdeleuze/spring-framework that referenced this issue Apr 2, 2025
sdeleuze added a commit to sdeleuze/spring-framework that referenced this issue Apr 2, 2025
This commit adds a variant to RestClient.RequestHeadersSpec#exchange
suitable for functions returning non-null values.

Closes spring-projectsgh-34692
sdeleuze added a commit that referenced this issue Apr 2, 2025
sdeleuze added a commit that referenced this issue Apr 2, 2025
sbrannen added a commit that referenced this issue Apr 3, 2025
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