Why request body is not printed before chain.doFilter(request, response); in OncePerRequestFilter?
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) { // do something before the rest of the application chain.doFilter(request, response); // invoke the rest of the application // do something after the rest of the application } I was under the impression that code before chain.doFilter will be executed before going to the controller and […]