public class SparkFilter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPLICATION_CLASS_PARAM |
private java.lang.String |
filterPath |
private static Logger |
LOG |
private MatcherFilter |
matcherFilter |
Constructor and Description |
---|
SparkFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain) |
protected SparkApplication |
getApplication(FilterConfig filterConfig) |
void |
init(FilterConfig filterConfig) |
public static final java.lang.String APPLICATION_CLASS_PARAM
private java.lang.String filterPath
private static final Logger LOG
private MatcherFilter matcherFilter
public void destroy()
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws java.io.IOException, ServletException
java.io.IOException
ServletException
protected SparkApplication getApplication(FilterConfig filterConfig) throws ServletException
ServletException
public void init(FilterConfig filterConfig) throws ServletException
ServletException