public static GeoLocationRequest getHttpServletRequestGeoLocation(final HttpServletRequest servletRequest) {
        if (servletRequest != null) {
            return HttpRequestUtils.getHttpServletRequestGeoLocation(servletRequest);
        }
        return null;
    }
Gets http servlet request geo location.

@param servletRequest the servlet request
@return the http servlet request geo location
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java