public class ParserTinyFilter extends AbstractTinyFilter
filterName, logger, tinyFilterConfig
BASIC_FILTER_PRECEDENCE, BUFFERED_FILTER_PRECEDENCE, LAZY_COMMIT_FILTER_PRECEDENCE, PARSER_FILTER_PRECEDENCE, REWRITE_FILTER_PRECEDENCE, SESSION_FILTER_PRECEDENCE, SETLOCALE_FILTER_PRECEDENCE, TINY_FILTER, TINY_WRAPPER_FILTER
DEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ParserTinyFilter() |
Modifier and Type | Method and Description |
---|---|
protected void |
customInit()
由客户自定义初始化
|
WebContext |
getAlreadyWrappedContext(WebContext wrappedContext)
返回已经包装的上下文
|
int |
getOrder()
Return the order value of this object, with a
higher value meaning greater in terms of sorting.
|
protected void |
parserExtraConfig() |
void |
postProcess(WebContext context)
tiny过滤器后置操作方法
|
void |
preProcess(WebContext context)
tiny过滤器前置处理方法
|
void |
setAutoUpload(boolean autoUpload) |
void |
setCaseFolding(String caseFolding) |
void |
setConverterQuiet(boolean converterQuiet) |
void |
setHtmlFieldSuffix(String htmlFieldSuffix) |
void |
setParameterParserFilters(ParameterParserFilter[] filters) |
void |
setPropertyEditorRegistrars(org.springframework.beans.PropertyEditorRegistrar[] registrars) |
void |
setTrimming(boolean trimming) |
void |
setUnescapeParameters(boolean unescapeParameters) |
void |
setUploadService(UploadService uploadService) |
void |
setURIEncoding(String uriEncoding) |
void |
setUseBodyEncodingForURI(boolean useBodyEncodingForURI) |
void |
setUseServletEngineParser(boolean useServletEngineParser) |
destroyTinyFilter, get, getFilterName, initContext, initTinyFilter, isMatch, setFilterName, wrapContext
public void setPropertyEditorRegistrars(org.springframework.beans.PropertyEditorRegistrar[] registrars)
public void setConverterQuiet(boolean converterQuiet)
public void setCaseFolding(String caseFolding)
public void setAutoUpload(boolean autoUpload)
public void setUnescapeParameters(boolean unescapeParameters)
public void setUseServletEngineParser(boolean useServletEngineParser)
public void setUseBodyEncodingForURI(boolean useBodyEncodingForURI)
public void setURIEncoding(String uriEncoding)
public void setTrimming(boolean trimming)
public void setParameterParserFilters(ParameterParserFilter[] filters)
public void setHtmlFieldSuffix(String htmlFieldSuffix)
public void setUploadService(UploadService uploadService)
protected void customInit()
AbstractTinyFilter
customInit
in class AbstractTinyFilter
protected void parserExtraConfig()
public void preProcess(WebContext context) throws javax.servlet.ServletException, IOException
TinyFilter
context
- 请求上下文javax.servlet.ServletException
IOException
public void postProcess(WebContext context) throws javax.servlet.ServletException, IOException
TinyFilter
context
- 请求上下文javax.servlet.ServletException
IOException
public WebContext getAlreadyWrappedContext(WebContext wrappedContext)
AbstractTinyFilter
getAlreadyWrappedContext
in class AbstractTinyFilter
public int getOrder()
Ordered
Normally starting with 0 or 1, with Ordered.LOWEST_PRECEDENCE
indicating greatest. Same order values will result in arbitrary
positions for the affected objects.
Higher value can be interpreted as lower priority, consequently the first object has highest priority (somewhat analogous to Servlet "load-on-startup" values).
Note that order values below 0 are reserved for framework purposes. Application-specified values should always be 0 or greater, with only framework components (internal or third-party) supposed to use lower values.
getOrder
in interface Ordered
getOrder
in class AbstractTinyFilter
Ordered.LOWEST_PRECEDENCE
Copyright © 2006–2018 TinyGroup. All rights reserved.