This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public final class RequestUtils { | |
| private RequestUtils() { | |
| } | |
| private static final String[] PROXY_IP_HEADER_NAMES = new String[]{"X-Forwarded-For", "Proxy-Client-IP", "WL-Proxy-Client-IP"}; | |
| public static String getRequestURIWithoutContextPath(HttpServletRequest request) { | |
| String requestUri = request.getRequestURI(); | |
| String contextPath = request.getContextPath(); |
NewerOlder