class RedirectUtils {
    /**
     * 获取跳转地址
     */
    public static String getRedirectPath(String location) {<FILL_FUNCTION_BODY>}
}

        if (Utils.isEmpty(Solon.cfg().serverContextPath())) {
            return location;
        }

        if (location.startsWith("/")) {
            if (location.startsWith(Solon.cfg().serverContextPath())) {
                return location;
            } else {
                return Solon.cfg().serverContextPath() + location.substring(1);
            }
        } else {
            return location;
        }
    
<no_super_class>