org.tinygroup.weblayer
public abstract class AbstractTinyFilter extends Object implements TinyFilter
| Modifier and Type | Field and 描述 |
|---|---|
protected String |
filterName |
protected static org.tinygroup.logger.Logger |
logger |
protected TinyFilterConfig |
tinyFilterConfig |
| Constructor and 描述 |
|---|
AbstractTinyFilter() |
| Modifier and Type | Method and 描述 |
|---|---|
protected abstract void |
customInit()
由客户自定义初始化
|
void |
destroyTinyFilter()
销毁tinyFilter
|
protected String |
get(String param) |
protected WebContext |
getAlreadyWrappedContext(WebContext wrappedContext)
返回已经包装的上下文
|
String |
getFilterName() |
int |
getOrder() |
protected void |
initContext(WebContext context) |
void |
initTinyFilter(TinyFilterConfig config)
web体系进行初始化filter
|
boolean |
isMatch(String url)
是否匹配
|
void |
setFilterName(String filterName) |
WebContext |
wrapContext(WebContext wrappedContext)
获取包装的webcontext
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostProcess, preProcessprotected String filterName
protected TinyFilterConfig tinyFilterConfig
protected static org.tinygroup.logger.Logger logger
public void initTinyFilter(TinyFilterConfig config) throws javax.servlet.ServletException
TinyFilterinitTinyFilter 接口 {1} 中的 {0} TinyFilterjavax.servlet.ServletExceptionprotected abstract void customInit()
public void setFilterName(String filterName)
setFilterName 接口 {1} 中的 {0} TinyFilterpublic String getFilterName()
getFilterName 接口 {1} 中的 {0} TinyFilterpublic void destroyTinyFilter()
TinyFilterdestroyTinyFilter 接口 {1} 中的 {0} TinyFilterpublic boolean isMatch(String url)
TinyFilterisMatch 接口 {1} 中的 {0} TinyFilterpublic WebContext wrapContext(WebContext wrappedContext)
WebContextFactorywrapContext 接口 {1} 中的 {0} WebContextFactory<WebContext>protected void initContext(WebContext context)
protected WebContext getAlreadyWrappedContext(WebContext wrappedContext)
wrappedContext - public int getOrder()
getOrder 接口 {1} 中的 {0} org.tinygroup.commons.order.OrderedCopyright © 2006–2015 TinyGroup. All rights reserved.