FilterChain filterChain)
throws IOException, ServletException {
// Perform request filtering
HttpServletRequest httpServletRequest = (HttpServletRequest) servletRequest;
BodyRequestWrapper bodyRequestWrapper;
try {
bodyRequestWrapper = new BodyRequestWrapper(httpServletRequest);
httpServletRequest.setAttribute(ProjectSettings.BODY_ATTRIBUTE, bodyRequestWrapper.getBody());
} catch (Exception e) {
log.warn("Unable to wrap the request", e);
throw new ServletException("Unable to wrap the request", e);
}