Package lumis.portal.webserver
Class WebServerIntegrationInitFilter
- java.lang.Object
-
- lumis.portal.webserver.WebServerIntegrationInitFilter
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
IS_WEBSPHERE
-
Constructor Summary
Constructors Constructor Description WebServerIntegrationInitFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
doFilter(ServletRequest req, ServletResponse resp, FilterChain chain)
void
init(FilterConfig filterConfig)
static HttpServletRequest
processXForwardedPath(HttpServletRequest request)
Processes the X-Forwarded-Path header parameter from request.
-
-
-
Method Detail
-
processXForwardedPath
public static HttpServletRequest processXForwardedPath(HttpServletRequest request)
Processes the X-Forwarded-Path header parameter from request. If the X-Forwarded-Path parameter exists on the header request,WebServerIntegrationInitFilter.RequestXForwardedPathWrapper
is returned, otherwise the original request is returned.- Parameters:
request
- the request to be processed.- Returns:
WebServerIntegrationInitFilter.RequestXForwardedPathWrapper
is returned if the X-Forwarded-Path parameter exists on the header request, otherwise the original request is returned.- Since:
- 7.0.0
-
init
public void init(FilterConfig filterConfig) throws ServletException
- Specified by:
init
in interfaceFilter
- Throws:
ServletException
-
doFilter
public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws IOException, ServletException
- Specified by:
doFilter
in interfaceFilter
- Throws:
IOException
ServletException
-
-