public class FullContextUrlRedirectTinyProcessor extends AbstractTinyProcessor
processorName, tinyProcessorConfigTINY_PROCESSORDEFAULT_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, setProcessorNamepublic FullContextFileRepository getFullContextFileRepository()
public void setFullContextFileRepository(FullContextFileRepository fullContextFileRepository)
protected void customInit()
throws javax.servlet.ServletException
customInit in class AbstractTinyProcessorjavax.servlet.ServletExceptionpublic boolean isMatch(String urlString)
TinyProcessorisMatch in interface TinyProcessorisMatch in class AbstractTinyProcessorurlString - 请求路径public void reallyProcess(String servletPath, WebContext context) throws javax.servlet.ServletException, IOException
AbstractTinyProcessorreallyProcess in class AbstractTinyProcessorjavax.servlet.ServletExceptionIOExceptionCopyright © 2006–2018 TinyGroup. All rights reserved.