From postman I am hitting a post request like http://localhost:8084/abc/api/v1/xyz
having payload and header. we have configured a Filter
class extending GenericFilterBean
before it hits the Controller. Its executing all the codes of Filter class fine but while executing 'chain.doFilter(request, response);'
in the end to forward request to controller method its throwing below exception.In Filter class we are reading the payload and saving in audit table. In Controller class method we have parameters like @RequestBody annotaion, @Context HttpServletRequest, BindingResult.
18:59:25,779 INFO [stdout] (default task-1) 18:59:25,778||WARN |AbstractHandlerExceptionResolver:197|Resolved [org.springframework.http.converter.HttpMessageNotReadableException: I/O error while reading input message; nested exception is java.io.IOException: UT010029: Stream is closed]
Kindly suggest on this.