I want to get the actual content of the response as a string from HttpServletResponse object in afterCompletion method in my Spring interceptor.
Note: I need to get this in Interceptor only, not using Filters. Any options available ?
@Component
public class RestInterceptor implements HandlerInterceptor {
@Override
    public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) throws Exception {
         // Need to get the actual response content here from HttpServletResponse
    }
}