@Singleton public final class CrawlFilter extends Object implements javax.servlet.Filter
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the filter configuration.
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Filters all requests and invokes the external service if necessary.
|
void |
init(javax.servlet.FilterConfig filterConfig) |
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
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
Copyright © 2010–2014 Arcbees. All rights reserved.