public class FullContextUrlRedirectTinyProcessor extends AbstractTinyProcessor
processorName, tinyProcessorConfig
TINY_PROCESSOR
DEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
FullContextUrlRedirectTinyProcessor() |
Modifier and Type | Method and Description |
---|---|
protected void |
customInit() |
FullContextFileRepository |
getFullContextFileRepository() |
boolean |
isMatch(String urlString)
判断url是否匹配,如果匹配,返回True
|
void |
reallyProcess(String servletPath,
WebContext context)
tinyprocessor的逻辑处理方法,由子类来完成
|
void |
setFullContextFileRepository(FullContextFileRepository fullContextFileRepository) |
destroy, get, getInitParamMap, getOrder, getProcessorName, init, process, setProcessorName
public FullContextFileRepository getFullContextFileRepository()
public void setFullContextFileRepository(FullContextFileRepository fullContextFileRepository)
protected void customInit() throws javax.servlet.ServletException
customInit
in class AbstractTinyProcessor
javax.servlet.ServletException
public boolean isMatch(String urlString)
TinyProcessor
isMatch
in interface TinyProcessor
isMatch
in class AbstractTinyProcessor
urlString
- 请求路径public void reallyProcess(String servletPath, WebContext context) throws javax.servlet.ServletException, IOException
AbstractTinyProcessor
reallyProcess
in class AbstractTinyProcessor
javax.servlet.ServletException
IOException
Copyright © 2006–2018 TinyGroup. All rights reserved.