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
Add BodyInserters.fromValue(T, ParameterizedTypeReference<T>)
and related APIs
#32713
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Comments
sdeleuze
added
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
labels
Apr 26, 2024
sdeleuze
changed the title
Introduce
Introduce Apr 29, 2024
ServerResponse.BodyBuilder#bodyValue
with type reference parameter and related Kotlin extensionServerResponse.BodyBuilder#bodyValue
with type reference parameter and related Kotlin extensions
sdeleuze
added a commit
to sdeleuze/spring-framework
that referenced
this issue
Apr 29, 2024
This commit introduces a ServerResponse.BodyBuilder#bodyValue variant with a type reference parameter as well as related WebClient.RequestBodySpec API, ServerResponse.BodyBuilder API and Kotlin extensions. Closes spring-projectsgh-32713
sdeleuze
added a commit
to sdeleuze/spring-framework
that referenced
this issue
Apr 29, 2024
This commit introduces a BodyInserters.fromValue(T, ParameterizedTypeReference<?>) variant with a type reference parameter as well as related WebClient.RequestBodySpec API, ServerResponse.BodyBuilder API and Kotlin extensions. Closes spring-projectsgh-32713
sdeleuze
changed the title
Introduce
Add Apr 29, 2024
ServerResponse.BodyBuilder#bodyValue
with type reference parameter and related Kotlin extensionsBodyInserters.fromValue(T, ParameterizedTypeReference<?>)
and related APIs
sdeleuze
added a commit
to sdeleuze/spring-framework
that referenced
this issue
Apr 29, 2024
This commit introduces a BodyInserters.fromValue(T, ParameterizedTypeReference<?>) variant as well as related WebClient.RequestBodySpec API, ServerResponse.BodyBuilder API and Kotlin extensions. Closes spring-projectsgh-32713
sdeleuze
added a commit
to sdeleuze/spring-framework
that referenced
this issue
Apr 29, 2024
This commit introduces BodyInserters.fromValue(T, ParameterizedTypeReference<?>) variant as well as related WebClient.RequestBodySpec API, ServerResponse.BodyBuilder API and Kotlin extensions. Closes spring-projectsgh-32713
sdeleuze
added a commit
to sdeleuze/spring-framework
that referenced
this issue
Apr 29, 2024
This commit introduces BodyInserters.fromValue(T, ParameterizedTypeReference<?>) variant as well as related WebClient.RequestBodySpec API, ServerResponse.BodyBuilder API and Kotlin extensions. Closes spring-projectsgh-32713
sdeleuze
added a commit
to sdeleuze/spring-framework
that referenced
this issue
Apr 29, 2024
This commit introduces BodyInserters.fromValue(T, ParameterizedTypeReference<?>) variant as well as related WebClient.RequestBodySpec API, ServerResponse.BodyBuilder API and Kotlin extensions. Closes spring-projectsgh-32713
sdeleuze
changed the title
Add
Add Apr 29, 2024
BodyInserters.fromValue(T, ParameterizedTypeReference<?>)
and related APIsBodyInserters.fromValue(T, ParameterizedTypeReference<T>)
and related APIs
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
As initially raised in #32652,
ServerResponse.BodyBuilder#bodyValue
should allow to specify the generic type to use for serialization in Kotlin, but also in Java. So this issue is going to introduce:BodyInserters.fromValue(T, ParameterizedTypeReference<T>)
WebClient.RequestBodySpec
andServerResponse.BodyBuilder
bodyValueWithType<T>(body)
andbodyValueWithTypeAndAwait<T>(body)
The text was updated successfully, but these errors were encountered: