@Configurable public class Forward extends AbstractRegexpDispatchRule
<web-app xmlns:resin="urn:java:com.caucho.resin"> <resin:Forward regexp="^/foo" target="/bar"/> </web-app>
Constructor and Description |
---|
Forward() |
Modifier and Type | Method and Description |
---|---|
FilterChain |
createDispatch(DispatcherType type,
java.lang.String uri,
java.lang.String queryString,
java.lang.String target,
FilterChain next) |
void |
init() |
protected java.lang.String |
rewriteTarget(java.util.regex.Matcher matcher,
java.lang.String uri,
java.lang.String queryString) |
void |
setAbsoluteTarget(java.lang.String target) |
void |
setTarget(java.lang.String target) |
void |
setTargetHost(java.lang.String target) |
@Configurable public void setTarget(java.lang.String target)
@Configurable public void setAbsoluteTarget(java.lang.String target)
@Configurable public void setTargetHost(java.lang.String target)
protected java.lang.String rewriteTarget(java.util.regex.Matcher matcher, java.lang.String uri, java.lang.String queryString)
rewriteTarget
in class AbstractRegexpDispatchRule
public void init() throws ConfigException
ConfigException
public FilterChain createDispatch(DispatcherType type, java.lang.String uri, java.lang.String queryString, java.lang.String target, FilterChain next)
createDispatch
in class AbstractRegexpDispatchRule