@Override
    protected void renderMergedTemplateModel(final Map<String, Object> model, final HttpServletRequest request,
                                             final HttpServletResponse response) throws Exception {
        val resource = getApplicationContext().getResource(getUrl());
        try (val reader = new InputStreamReader(resource.getInputStream(), StandardCharsets.UTF_8);
             val writer = new StringWriter()) {
            val template = compiler.compile(reader);
            template.execute(model, writer);
            LoggingUtils.protocolMessage("CAS Validation Response", Map.of(), writer.toString());
            response.getWriter().write(writer.toString());
        }
    }
This is {@link CasMustacheView}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-thymeleaf-core/src/main/java/org/apereo/cas/web/view/CasMustacheView.java