Logic I have to implement is logging all requests with body served to DB.
So I decided to use: afterCompletion method of HandlerInterceptor
afterCompletion
HandlerInterceptor
As far as I know, RequestBody and ResponseBody can be read only once. So you should not read them in an Interceptor. Here's some explanation.
RequestBody
ResponseBody
Interceptor