public class CatchAllFilter extends Object implements javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
static String |
CHECK_CONTEXT_PARAM |
static Logger |
logger
create a static logger.
|
static String |
MAIN_URI_KEY |
Constructor and Description |
---|
CatchAllFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain next) |
static boolean |
doLoginFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response) |
void |
init(javax.servlet.FilterConfig config) |
void |
initElements(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response) |
public static final String CHECK_CONTEXT_PARAM
public static final String MAIN_URI_KEY
public static Logger logger
public void destroy()
destroy
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain next) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public static boolean doLoginFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void initElements(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
Copyright © 2012-2018. All Rights Reserved.