protected void sendRedirect(final HttpServletRequest request, final HttpServletResponse response,
final String targetUrl, final boolean http10Compatible)
throws IOException {
if (this.ajaxHandler == null) {
throw new ConfigurationException("[THYMELEAF] AJAX Handler set into " +
AjaxThymeleafViewResolver.class.getSimpleName() + " instance is null.");
}
if (this.ajaxHandler.isAjaxRequest(request, response)) {
if (vlogger.isTraceEnabled()) {