public final void renderMergedOutputModel(
            Map model, HttpServletRequest request, HttpServletResponse response) throws IOException {

        // Prepare name URL.
        StringBuilder targetUrl = new StringBuilder();
        if (this.contextRelative && getUrl().startsWith("/")) {
            // Do not apply context path to relative URLs.
            targetUrl.append(request.getContextPath());
        }
        targetUrl.append(getUrl());
        //change the following method to accept a StringBuilder instead of a StringBuilder for Shiro 2.x:
        appendQueryProperties(targetUrl, model, this.encodingScheme);

        sendRedirect(request, response, targetUrl.toString(), this.http10Compatible);
    }
Convert model to request parameters and redirect to the given URL.

@param model    the model to convert
@param request  the incoming HttpServletRequest
@param response the outgoing HttpServletResponse
@throws java.io.IOException if there is a problem issuing the redirect
@see #appendQueryProperties
@see #sendRedirect
web/src/main/java/org/apache/shiro/web/util/RedirectView.java