Modifier and Type | Method and Description |
---|---|
void |
TinydbFilter.postProcess(WebContext context) |
void |
TinydbFilter.preProcess(WebContext context) |
Modifier and Type | Method and Description |
---|---|
void |
PageFlowTinyProcessor.reallyProcess(String urlString,
WebContext context) |
Modifier and Type | Method and Description |
---|---|
void |
MockServiceProcessor.reallyProcess(String urlString,
WebContext context) |
Modifier and Type | Method and Description |
---|---|
void |
ServiceHttpServiceProcessor.reallyProcess(String urlString,
WebContext context) |
Modifier and Type | Method and Description |
---|---|
void |
ServiceTinyProcessor.reallyProcess(String urlString,
WebContext context) |
void |
JsonServiceTinyProcessor.reallyProcess(String urlString,
WebContext context) |
void |
JsonServiceHeadConfigTinyProcessor.reallyProcess(String urlString,
WebContext context) |
void |
ServiceOutPutTinyProcessor.reallyProcess(String urlString,
WebContext context) |
Modifier and Type | Method and Description |
---|---|
WebContext |
TinyVelocityContext.getWebContext() |
WebContext |
TinyWebTemplateContext.getWebContext() |
Constructor and Description |
---|
TinyVelocityContext(Map map,
WebContext webContext) |
TinyWebTemplateContext(Map dataMap,
WebContext webContext) |
Modifier and Type | Method and Description |
---|---|
void |
SpringMvcTinyProcessor.reallyProcess(String urlString,
WebContext context) |
Modifier and Type | Method and Description |
---|---|
WebContext |
TinyWebTemplateContext.getWebContext() |
Modifier and Type | Method and Description |
---|---|
void |
TinyTemplateProcessor.reallyProcess(String servletPath,
WebContext context) |
Constructor and Description |
---|
TinyWebTemplateContext(WebContext webContext) |
Modifier and Type | Method and Description |
---|---|
void |
UiEngineTinyProcessor.reallyProcess(String servletPath,
WebContext context) |
Modifier and Type | Method and Description |
---|---|
protected WebContext |
AbstractTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext)
返回已经包装的上下文
|
WebContext |
TinyFilterHandler.getContext() |
WebContext |
FilterHandler.getContext()
获取处理上下文
|
WebContext |
WebContext.getWrappedWebContext()
获取包装过的WebContext
|
WebContext |
AbstractTinyFilter.wrapContext(WebContext wrappedContext) |
Modifier and Type | Method and Description |
---|---|
void |
TinyFilterHandler.commitHeaders(WebContext wrapperedContext)
头部提交,保证内容只提交一次
|
void |
FilterHandler.commitHeaders(WebContext wrapperedContext)
头部提交,保证内容只提交一次
|
boolean |
TinyProcessorManager.execute(String url,
WebContext context)
根据请求路径,获取servlet处理器进行逻辑处理
|
void |
FilterWrapper.filterWrapper(WebContext context,
FilterHandler handler) |
protected WebContext |
AbstractTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext)
返回已经包装的上下文
|
protected void |
AbstractTinyFilter.initContext(WebContext context) |
void |
WebContextProcessor.postProcess(WebContext context)
后置操作
|
void |
TinyFilter.postProcess(WebContext context)
tiny过滤器后置操作方法
|
void |
WebContextProcessor.preProcess(WebContext context)
前置操作
|
void |
TinyFilter.preProcess(WebContext context)
tiny过滤器前置处理方法
|
void |
TinyProcessor.process(String urlString,
WebContext context)
处理方法
|
void |
AbstractTinyProcessor.process(String urlString,
WebContext context) |
abstract void |
AbstractTinyProcessor.reallyProcess(String urlString,
WebContext context)
tinyprocessor的逻辑处理方法,由子类来完成
|
void |
TinyFilterHandler.setContext(WebContext context) |
WebContext |
AbstractTinyFilter.wrapContext(WebContext wrappedContext) |
Constructor and Description |
---|
TinyFilterHandler(String servletPath,
javax.servlet.FilterChain filterChain,
WebContext context,
TinyFilterManager tinyFilterManager,
TinyProcessorManager tinyProcessorManager,
List<Pattern> passthruPatterns) |
Modifier and Type | Method and Description |
---|---|
boolean |
WebExceptionHandlerManager.handler(Throwable t,
WebContext webContext) |
void |
WebExceptionHandler.handler(Throwable throwable,
WebContext webContext)
异常处理方法
|
Modifier and Type | Method and Description |
---|---|
boolean |
WebExceptionHandlerManagerImpl.handler(Throwable e,
WebContext webContext) |
void |
DefaultWebExceptionHandler.handler(Throwable e,
WebContext webContext) |
Modifier and Type | Method and Description |
---|---|
WebContext |
BufferedTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
WebContext |
ParserTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
WebContext |
LazyCommitTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
WebContext |
BasicTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
protected WebContext |
SetLocaleTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
WebContext |
RewriteTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
WebContext |
SessionTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
Modifier and Type | Method and Description |
---|---|
WebContext |
BufferedTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
WebContext |
ParserTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
WebContext |
LazyCommitTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
WebContext |
BasicTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
protected WebContext |
SetLocaleTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
WebContext |
RewriteTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
WebContext |
SessionTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
protected void |
BasicTinyFilter.initContext(WebContext context) |
void |
BufferedTinyFilter.postProcess(WebContext context) |
void |
FormCheckTinyFilter.postProcess(WebContext context) |
void |
ParserTinyFilter.postProcess(WebContext context) |
void |
LazyCommitTinyFilter.postProcess(WebContext context) |
void |
BasicTinyFilter.postProcess(WebContext context) |
void |
SetLocaleTinyFilter.postProcess(WebContext context) |
void |
RewriteTinyFilter.postProcess(WebContext context) |
void |
SessionTinyFilter.postProcess(WebContext context) |
void |
BufferedTinyFilter.preProcess(WebContext context) |
void |
FormCheckTinyFilter.preProcess(WebContext context) |
void |
ParserTinyFilter.preProcess(WebContext context) |
void |
LazyCommitTinyFilter.preProcess(WebContext context) |
void |
BasicTinyFilter.preProcess(WebContext context) |
void |
SetLocaleTinyFilter.preProcess(WebContext context) |
void |
RewriteTinyFilter.preProcess(WebContext context) |
void |
SessionTinyFilter.preProcess(WebContext context) |
Modifier and Type | Class and Description |
---|---|
class |
WebContextImpl
web上下文接口实现
|
Modifier and Type | Method and Description |
---|---|
boolean |
TinyProcessorManagerImpl.execute(String url,
WebContext context) |
void |
TinyFilterWrapper.filterWrapper(WebContext context,
FilterHandler handler) |
Constructor and Description |
---|
WebContextImpl(WebContext wrappedContext) |
Modifier and Type | Method and Description |
---|---|
WebContext |
HandlerExecutionChain.getContext() |
Modifier and Type | Method and Description |
---|---|
void |
MappingModelExecute.execute(HandlerExecutionChain chain,
WebContext context)
执行方法
|
void |
HandlerExecutionChain.setContext(WebContext context) |
void |
WebContextAware.setContext(WebContext webContext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MappingModelExecuteImpl.execute(HandlerExecutionChain chain,
WebContext context) |
Modifier and Type | Method and Description |
---|---|
void |
MvcTinyProcessor.reallyProcess(String urlString,
WebContext context) |
void |
TinyProcessorWapper.reallyProcess(String urlString,
WebContext context) |
void |
FullContextUrlRedirectTinyProcessor.reallyProcess(String servletPath,
WebContext context) |
Modifier and Type | Interface and Description |
---|---|
interface |
TwoPhaseCommitWebContext
扩展于
WebContext ,支持先提交headers,再提交全体内容。 |
Modifier and Type | Class and Description |
---|---|
class |
AbstractWebContextWrapper
功能说明:抽象的包装上下文,类属性值都是从被包装的上下文对象中获得
|
class |
CommitMonitor
保存commit的状态,用来防止重复commit。
|
class |
DefaultWebContext
功能说明:默认的上下文实现,如果filter没有自定义增强上下文的对象,那么就返回此对象
|
class |
SimpleWebContext
功能说明: 实现了
WebContext 接口,包含request、response和servletContext的信息。 |
Modifier and Type | Method and Description |
---|---|
WebContext |
CommitMonitor.getTopWebContext() |
WebContext |
AbstractResponseWrapper.getWebContext()
取得支持它们的
getWebContext 。 |
protected WebContext |
AbstractRequestWrapper.getWebContext()
取得支持它们的
WebContext 。 |
WebContext |
AbstractWebContextWrapper.getWrappedWebContext() |
WebContext |
AbstractWebContextWrapper.getWrappedWebContext(String contextName) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractWebContextWrapper.existFromWrapperContext(String name,
WebContext webContext) |
protected <T> T |
AbstractWebContextWrapper.getFromWrapperContext(String name,
WebContext webContext) |
void |
AbstractWebContextWrapper.putSubWebContext(String contextName,
WebContext webContext) |
void |
CommitMonitor.setTopWebContext(WebContext topWebContext) |
Constructor and Description |
---|
AbstractRequestWrapper(WebContext context,
javax.servlet.http.HttpServletRequest request)
创建一个request wrapper。
|
AbstractResponseWrapper(WebContext context,
javax.servlet.http.HttpServletResponse response)
创建一个response wrapper。
|
AbstractWebContextWrapper(WebContext wrappedContext) |
CommitMonitor(WebContext context,
FilterHandler handler) |
DefaultWebContext(WebContext wrappedContext) |
SimpleWebContext(WebContext webContext,
FilterHandler handler,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
创建一个新的
RequestContext 对象。 |
Modifier and Type | Interface and Description |
---|---|
interface |
BasicWebContext
这是一个基础性的web context,提供了interceptor机制,主要用于构建可扩展的安全方案。
|
Modifier and Type | Class and Description |
---|---|
class |
BasicWebContextImpl
过滤header中的crlf,将status message用HTML entities转义,限制cookie的总大小。
|
Constructor and Description |
---|
BasicWebContextImpl(WebContext wrappedContext) |
Constructor and Description |
---|
BasicResponseImpl(WebContext context,
javax.servlet.http.HttpServletResponse response,
Object[] interceptors) |
Modifier and Type | Interface and Description |
---|---|
interface |
BufferedWebContext
对response.
getWriter() 和response.getOutputStream()
所返回的输出流进行缓存操作。 |
Modifier and Type | Class and Description |
---|---|
class |
BufferedWebContextImpl |
Constructor and Description |
---|
BufferedWebContextImpl(WebContext wrappedContext) |
Constructor and Description |
---|
BufferedResponseImpl(WebContext webContext,
javax.servlet.http.HttpServletResponse response)
创建一个
BufferedResponseImpl 。 |
Modifier and Type | Interface and Description |
---|---|
interface |
LazyCommitWebContext
延迟提交response。有些方法的调用会导致response被提交,包括:
sendError
sendRedirect
flushBuffer
setContentLength() 或
setHeader("Content-Length", len) ,但有些servlet
engine不会在这里提交response。
Response一旦提交,就不能修改header了。这对于一些应用(例如cookie-based session)的实现是一个问题。 |
Modifier and Type | Class and Description |
---|---|
class |
LazyCommitWebContextImpl
延迟提交response的实现。
|
Constructor and Description |
---|
LazyCommitWebContextImpl(WebContext wrappedContext)
包装一个
RequestContext 对象。 |
Modifier and Type | Interface and Description |
---|---|
interface |
ParserWebContext
自动解析request parameters和cookie parameters,并透明地处理upload请求的web context实现。
|
Modifier and Type | Class and Description |
---|---|
class |
ParserWebContextImpl
自动解析request parameters和cookie parameters,并透明地处理upload请求的request context实现。
|
Modifier and Type | Method and Description |
---|---|
String |
ParamValueEncryptFilter.valueFilter(String value,
WebContext webContext) |
String |
ParamValueDecryptFilter.valueFilter(String value,
WebContext webContext) |
Constructor and Description |
---|
ParserWebContextImpl(WebContext wrappedContext)
包装一个
RequestContext 对象。 |
Modifier and Type | Method and Description |
---|---|
String |
ParamValueFilter.valueFilter(String value,
WebContext webContext)
参数过滤方法
|
Modifier and Type | Interface and Description |
---|---|
interface |
RewriteWebContext
重写URL及参数的web context,类似于apache的mod_rewrite模块。
|
Modifier and Type | Class and Description |
---|---|
class |
RewriteWebContextImpl
重写URL及参数的request context,类似于apache的mod_rewrite模块。
|
Constructor and Description |
---|
RewriteWebContextImpl(WebContext wrappedContext,
RewriteRule[] rules)
包装一个
RequestContext 对象。 |
Modifier and Type | Interface and Description |
---|---|
interface |
SessionWebContext
支持session的
WebContext 实现。 |
Modifier and Type | Class and Description |
---|---|
class |
SessionWebContextImpl
支持session的
HttpRequestContext 实现。 |
Constructor and Description |
---|
SessionWebContextImpl(WebContext wrappedContext,
SessionConfig sessionConfig)
构造函数。
|
Modifier and Type | Interface and Description |
---|---|
interface |
SetLocaleWebContext
实现了Servlet 2.4规范中的response的方法。包括:
response.
setCharacterEncoding() 方法,使之可以方便地设置输出字符编码,而不需要依赖于
setContentType() 方法。
response.getContentType() 方法,使之可以取得当前输出的content type。
设置区域和编码字符集。包括:
LocaleUtil.setContextLocale()
request.setCharacterEncoding()
response.setLocale()
response.setCharacterEncoding() 。
|
Modifier and Type | Class and Description |
---|---|
class |
SetLocaleWebContextImpl
SetLocaleWebContext 的实现。 |
Constructor and Description |
---|
SetLocaleWebContextImpl(WebContext wrappedContext)
包装一个
RequestContext 对象。 |
Modifier and Type | Method and Description |
---|---|
static <R extends WebContext> |
WebContextUtil.findWebContext(javax.servlet.http.HttpServletRequest request,
Class<R> WebContextInterface)
在指定的request context及其级联的request context中找到一个指定类型的request context。
|
static <R extends WebContext> |
WebContextUtil.findWebContext(WebContext webContext,
Class<R> webContextInterface)
在指定的request context及其级联的request context中找到一个指定类型的request context。
|
Modifier and Type | Method and Description |
---|---|
static WebContext |
WebContextUtil.getWebContext(javax.servlet.http.HttpServletRequest request)
取得和当前request相关联的
WebContext 对象。 |
Modifier and Type | Method and Description |
---|---|
static <R extends WebContext> |
WebContextUtil.findWebContext(WebContext webContext,
Class<R> webContextInterface)
在指定的request context及其级联的request context中找到一个指定类型的request context。
|
static void |
WebContextUtil.setWebContext(WebContext WebContext)
将
WebContext 对象和request相关联。 |
Modifier and Type | Interface and Description |
---|---|
interface |
WebContextFactory<R extends WebContext>
对WebContext进行包装,产生新的包装后的WebContext
|
Modifier and Type | Method and Description |
---|---|
R |
WebContextFactory.wrapContext(WebContext wrappedContext)
获取包装的webcontext
|
Modifier and Type | Method and Description |
---|---|
WebContext |
TinyFilterHandler.getContext() |
Modifier and Type | Method and Description |
---|---|
void |
TinyFilterHandler.commitHeaders(WebContext wrapperedContext)
头部提交,保证内容只提交一次
|
void |
TinyFilterHandler.setContext(WebContext context) |
Constructor and Description |
---|
TinyFilterHandler(String servletPath,
javax.servlet.FilterChain filterChain,
WebContext context,
TinyFilterManager tinyFilterManager) |
Modifier and Type | Method and Description |
---|---|
void |
WebServiceProcessor.reallyProcess(String urlString,
WebContext context) |
Modifier and Type | Class and Description |
---|---|
class |
XmlSignatureWebContextImpl |
Modifier and Type | Method and Description |
---|---|
WebContext |
XmlSignatureTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
Modifier and Type | Method and Description |
---|---|
WebContext |
XmlSignatureTinyFilter.getAlreadyWrappedContext(WebContext wrappedContext) |
void |
XmlSignatureTinyFilter.postProcess(WebContext context) |
void |
XmlSignatureTinyFilter.preProcess(WebContext context) |
Constructor and Description |
---|
XmlSignatureWebContextImpl(WebContext wrappedContext,
boolean tag) |
Copyright © 2006–2018 TinyGroup. All rights reserved.