org.tinygroup.weblayer
public interface TinyFilter extends org.tinygroup.commons.order.Ordered, WebContextFactory<WebContext>
| Modifier and Type | Field and 描述 |
|---|---|
static int |
BASIC_FILTER_PRECEDENCE |
static int |
BUFFERED_FILTER_PRECEDENCE |
static int |
LAZY_COMMIT_FILTER_PRECEDENCE |
static int |
PARSER_FILTER_PRECEDENCE |
static int |
REWRITE_FILTER_PRECEDENCE |
static int |
SESSION_FILTER_PRECEDENCE |
static int |
SETLOCALE_FILTER_PRECEDENCE |
static String |
TINY_FILTER |
static String |
TINY_WRAPPER_FILTER |
| Modifier and Type | Method and 描述 |
|---|---|
void |
destroyTinyFilter()
销毁tinyFilter
|
String |
getFilterName() |
void |
initTinyFilter(TinyFilterConfig config)
web体系进行初始化filter
|
boolean |
isMatch(String url)
是否匹配
|
void |
postProcess(WebContext context)
后置操作
|
void |
preProcess(WebContext context)
前置操作
|
void |
setFilterName(String filterName) |
wrapContextstatic final int BASIC_FILTER_PRECEDENCE
static final int PARSER_FILTER_PRECEDENCE
static final int BUFFERED_FILTER_PRECEDENCE
static final int LAZY_COMMIT_FILTER_PRECEDENCE
static final int SESSION_FILTER_PRECEDENCE
static final int SETLOCALE_FILTER_PRECEDENCE
static final int REWRITE_FILTER_PRECEDENCE
void preProcess(WebContext context) throws javax.servlet.ServletException, IOException
context - javax.servlet.ServletException - TODOIOException - TODOvoid postProcess(WebContext context) throws javax.servlet.ServletException, IOException
context - javax.servlet.ServletException - TODOIOException - TODOvoid initTinyFilter(TinyFilterConfig config) throws javax.servlet.ServletException
config - javax.servlet.ServletExceptionvoid destroyTinyFilter()
boolean isMatch(String url)
url - void setFilterName(String filterName)
String getFilterName()
Copyright © 2006–2015 TinyGroup. All rights reserved.