*/
public void doFilter(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException {
final UriBuilder absoluteUriBuilder = UriBuilder.fromUri(
request.getRequestURL().toString());
final URI baseUri = absoluteUriBuilder.replacePath(request.getContextPath()).
path("/").
build();
final URI requestUri = absoluteUriBuilder.replacePath(request.getRequestURI()).
replaceQuery(request.getQueryString()).