GetForEntity, PostForEntity Overloading function using ParameterizedTypeReference
There's needs for usage-free to use ParameterizedTypeReference on any RequestEntity function.
ISSUE : https://github.com/spring-projects/spring-framework/issues/26360 MAKE : GetForEntity, PostForEntity Overloading function using ParameterizedTypeReference
Comment From: rstoyanchev
Thanks for the pull request but use of ParameterizedTypeReference
is a less common case and it is a balance between having too many methods in RestTemplate
vs convenience. If we overload these methods, it would be reasonable to expect others to be overloaded as well which makes 12 new methods.
For such cases please use the exchange
methods.