public interface EmbedRequestFilterProvider extends Mutable
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CURRENT_LEVEL |
static java.lang.String |
MARK_STRING |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy()
销毁过滤器
|
void |
filter(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
过滤servlet
|
void |
init(javax.servlet.FilterConfig filterConfig)
初始化过滤器
注:该接口生效必须重启服务器
|
mark4ProvidercurrentAPILevelstatic final java.lang.String MARK_STRING
static final int CURRENT_LEVEL
void init(javax.servlet.FilterConfig filterConfig)
filterConfig - 过滤器配置void filter(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.io.IOException,
javax.servlet.ServletException
req - http请求res - http响应java.io.IOExceptionjavax.servlet.ServletExceptionvoid destroy()