Closed sdeleuze closed 2 weeks ago
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:
ServerResponse.BodyBuilder#bodyValue
BodyInserters.fromValue(T, ParameterizedTypeReference<T>)
WebClient.RequestBodySpec
ServerResponse.BodyBuilder
bodyValueWithType<T>(body)
bodyValueWithTypeAndAwait<T>(body)
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)