public static void issueRedirect(ServletRequest request,
                                     ServletResponse response, String url, Map queryParams) throws IOException {
        issueRedirect(request, response, url, queryParams, true, true);
    }
Redirects the current request to a new URL based on the given parameters and default values
for unspecified parameters.

@param request     the servlet request.
@param response    the servlet response.
@param url         the URL to redirect the user to.
@param queryParams a map of parameters that should be set as request parameters for the new request.
@throws java.io.IOException if thrown by response methods.
web/src/main/java/org/apache/shiro/web/util/WebUtils.java