public static String getFullRequestUrl(final HttpServletRequest request) {
        return request.getRequestURL() + (request.getQueryString() != null ? '?' + request.getQueryString() : StringUtils.EMPTY);
    }
Gets full request url.

@param request the request
@return the full request url
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/http/HttpRequestUtils.java