|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.server.rewrite.RewriteDispatch
public class RewriteDispatch
Configuration for a rewrite-dispatch
Constructor Summary | |
---|---|
RewriteDispatch(ServletService server)
|
|
RewriteDispatch(WebApp webApp)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RewriteDispatch(ServletService server)
public RewriteDispatch(WebApp webApp)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |