public class RoutingFilter extends Object implements javax.servlet.Filter
ResourceReferenceHandler matching the
ResourceType passed in the URL (for example when using the standard URL scheme, the Resource
Type is the segment path just after the Context Path, i.e. bin in
http://<server>/xwiki/bin/view/Space/Page), then the resourceReferenceHandler Servlet is
called to handle it.web.xml file, thus bridging to the old system,
including the existing Struts Action Servlet.ResourceReferenceHandler.| Constructor and Description |
|---|
RoutingFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
void |
init(javax.servlet.FilterConfig filterConfig) |
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionpublic void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterIOExceptionjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.FilterCopyright © 2004–2018 XWiki. All rights reserved.