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
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: