org.tinygroup.weblayer
类 AbstractTinyFilter

java.lang.Object
  继承者 org.tinygroup.weblayer.AbstractTinyFilter
所有已实现的接口:
org.tinygroup.appconfig.AppConfig, TinyFilter, WebContextFactory<WebContext>
直接已知子类:
BasicTinyFilter, BufferedTinyFilter, DataSouceTinyFilter, LazyCommitTinyFilter, ParserTinyFilter, ResponseZip, RewriteTinyFilter, SessionTinyFilter, SetLocaleTinyFilter, TinyFilterWrapper

public abstract class AbstractTinyFilter
extends Object
implements TinyFilter

tinyfilter的抽象实现

作者:
renhui

字段摘要
protected static org.tinygroup.logger.Logger logger
           
 
从接口 org.tinygroup.weblayer.TinyFilter 继承的字段
TINY_WRAPPER_FILTER
 
构造方法摘要
AbstractTinyFilter()
           
 
方法摘要
 void destoryTinyFilter()
          销毁tinyFilter
protected  String get(String param)
           
protected  WebContext getAlreadyWrappedContext(WebContext wrappedContext)
          返回已经包装的上下文
 org.tinygroup.xmlparser.node.XmlNode getConfiguration()
           
 Map<String,String> getInitParamMap()
           
 String getNodeName()
           
 List<Pattern> getPatterns()
           
protected  void initContext(WebContext context)
           
 void initTinyFilter()
          初始化tinyFilter
 boolean isMatch(String url)
          是否匹配
protected  void parserExtraConfig(org.tinygroup.xmlparser.node.XmlNode parserNode)
          解析额外节点配置信息
 void postProcess(WebContext context)
          后置操作
 void preProcess(WebContext context)
          前置操作
 void setConfiguration(org.tinygroup.xmlparser.node.XmlNode xmlNode)
           
 WebContext wrapContext(WebContext wrappedContext)
          获取包装的webcontext
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

logger

protected static org.tinygroup.logger.Logger logger
构造方法详细信息

AbstractTinyFilter

public AbstractTinyFilter()
方法详细信息

getNodeName

public String getNodeName()
指定者:
接口 org.tinygroup.appconfig.AppConfig 中的 getNodeName

setConfiguration

public void setConfiguration(org.tinygroup.xmlparser.node.XmlNode xmlNode)
指定者:
接口 org.tinygroup.appconfig.AppConfig 中的 setConfiguration

getConfiguration

public org.tinygroup.xmlparser.node.XmlNode getConfiguration()
指定者:
接口 org.tinygroup.appconfig.AppConfig 中的 getConfiguration

preProcess

public void preProcess(WebContext context)
从接口 TinyFilter 复制的描述
前置操作

指定者:
接口 TinyFilter 中的 preProcess

postProcess

public void postProcess(WebContext context)
从接口 TinyFilter 复制的描述
后置操作

指定者:
接口 TinyFilter 中的 postProcess

initTinyFilter

public void initTinyFilter()
从接口 TinyFilter 复制的描述
初始化tinyFilter

指定者:
接口 TinyFilter 中的 initTinyFilter

destoryTinyFilter

public void destoryTinyFilter()
从接口 TinyFilter 复制的描述
销毁tinyFilter

指定者:
接口 TinyFilter 中的 destoryTinyFilter

isMatch

public boolean isMatch(String url)
从接口 TinyFilter 复制的描述
是否匹配

指定者:
接口 TinyFilter 中的 isMatch
返回:

getInitParamMap

public Map<String,String> getInitParamMap()

getPatterns

public List<Pattern> getPatterns()

wrapContext

public WebContext wrapContext(WebContext wrappedContext)
从接口 WebContextFactory 复制的描述
获取包装的webcontext

指定者:
接口 WebContextFactory<WebContext> 中的 wrapContext
返回:

initContext

protected void initContext(WebContext context)

getAlreadyWrappedContext

protected WebContext getAlreadyWrappedContext(WebContext wrappedContext)
返回已经包装的上下文

参数:
wrappedContext -
返回:

get

protected String get(String param)

parserExtraConfig

protected void parserExtraConfig(org.tinygroup.xmlparser.node.XmlNode parserNode)
解析额外节点配置信息

参数:
parserNode -


Copyright © 2006–2013 开源组织. All rights reserved.