public class RewriteDispatch
extends java.lang.Object
Constructor and Description |
---|
RewriteDispatch(ServletService server) |
RewriteDispatch(WebApp webApp) |
Modifier and Type | Method and Description |
---|---|
void |
addAction(RewriteFilter action) |
void |
addBuilderProgram(ConfigProgram program)
Adds to the builder program.
|
void |
addDispatcherType(java.lang.String type)
Sets the dispatcher type: REQUEST, INCLUDE, FORWARD
|
void |
addRule(DispatchRule rule) |
void |
clearCache() |
WebApp |
getWebApp() |
void |
init() |
boolean |
isError()
Returns true for an error dispatcher
|
boolean |
isForward()
Returns true for a forward dispatcher
|
boolean |
isInclude()
Returns true for an include dispatcher
|
boolean |
isRequest()
Returns true for a request dispatcher
|
FilterChain |
map(DispatcherType type,
java.lang.String uri,
java.lang.String queryString,
FilterChain chain) |
java.lang.String |
toString() |
public RewriteDispatch(ServletService server)
public RewriteDispatch(WebApp webApp)
public WebApp getWebApp()
public void addDispatcherType(java.lang.String type)
public boolean isRequest()
public boolean isInclude()
public boolean isForward()
public boolean isError()
public void addBuilderProgram(ConfigProgram program)
public void addRule(DispatchRule rule)
public void addAction(RewriteFilter action)
@PostConstruct public void init()
public FilterChain map(DispatcherType type, java.lang.String uri, java.lang.String queryString, FilterChain chain)
public void clearCache()
public java.lang.String toString()
toString
in class java.lang.Object