** Enhancements requests **
In Spring mvc, RequestBodyAdvice
and ResponseBodyAdvice
are provided to access and manipulate java objects of message bodies before serialization of incoming requests/after deserialization of outgoing responses.
While they are useful for implementing common logic requiring body data such as logging or customization, RestClient
does not have any equivalent feature to do so.
ClientHttpRequestInterceptor
is a bit similar but it allows access to only byte array representation of body data.