@Configurable public class WelcomeFile extends AbstractDispatchRule
<web-app xmlns:resin="urn:java:com.caucho.resin"> <resin:WelcomeFile welcome-file="index.jsp"/> </web-app>
| Constructor and Description |
|---|
WelcomeFile() |
WelcomeFile(java.util.ArrayList<java.lang.String> welcomeFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWelcomeFile(java.lang.String welcomeFile) |
boolean |
isForward() |
boolean |
isInclude() |
FilterChain |
map(DispatcherType type,
java.lang.String uri,
java.lang.String queryString,
FilterChain next,
FilterChain tail)
Creates a FilterChain for the action based on the uri and query string.
|
java.lang.String |
rewriteUri(java.lang.String uri,
java.lang.String queryString)
Rewrites the URI for further processing.
|
isRequest, toStringpublic WelcomeFile()
public WelcomeFile(java.util.ArrayList<java.lang.String> welcomeFile)
public boolean isInclude()
isInclude in interface DispatchRuleisInclude in class AbstractDispatchRulepublic boolean isForward()
isForward in interface DispatchRuleisForward in class AbstractDispatchRulepublic void addWelcomeFile(java.lang.String welcomeFile)
public java.lang.String rewriteUri(java.lang.String uri,
java.lang.String queryString)
DispatchRulerewriteUri in interface DispatchRulerewriteUri in class AbstractDispatchRulepublic FilterChain map(DispatcherType type, java.lang.String uri, java.lang.String queryString, FilterChain next, FilterChain tail) throws ServletException
DispatchRuletail, and mismatching
requests will use next. tail is the
plain servlet/filter chain without any rewriting. next
is the next rewrite dispatchmap in interface DispatchRulemap in class AbstractDispatchRuleuri - the request URI to match againstqueryString - the request query string to match againstnext - the next rewrite FilterChain dispatchtail - the plain servlet/filter chain for a matchServletException