public class BeanProxyFilter extends Object implements Filter
DependencyInjectedFilter
with a configured bean name and delegates the
doFilter(ServletRequest, ServletResponse, FilterChain)
call to that. This allows us to swap in and out
different implementations for different 'hook points' in web.xml.Constructor and Description |
---|
BeanProxyFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain) |
void |
init(FilterConfig args)
Initialize the filter.
|
public void init(FilterConfig args) throws ServletException
init
in interface Filter
args
- FilterConfigServletException
- the servlet exceptionServletException
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException
doFilter
in interface Filter
IOException
ServletException
Copyright © 2005–2017 Alfresco Software. All rights reserved.