public class FancyURLFilter extends Object implements javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
protected javax.servlet.ServletContext |
servletContext |
protected URLPolicyService |
urlService |
Constructor and Description |
---|
FancyURLFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
protected URLPolicyService |
getUrlService() |
void |
init(javax.servlet.FilterConfig conf) |
protected javax.servlet.ServletResponse |
wrapResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected URLPolicyService urlService
protected javax.servlet.ServletContext servletContext
public FancyURLFilter()
public void init(javax.servlet.FilterConfig conf) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
protected URLPolicyService getUrlService()
public void destroy()
destroy
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
protected javax.servlet.ServletResponse wrapResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Copyright © 2015 Nuxeo SA. All rights reserved.