|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.URLRewriterImpl
@UsesOrderedConfiguration(value=URLRewriterRule.class) public class URLRewriterImpl
Default URLRewriter implementation.
| Constructor Summary | |
|---|---|
URLRewriterImpl(List<URLRewriterRule> rules)
Single constructor of this class. |
|
| Method Summary | |
|---|---|
boolean |
hasLinkRules()
|
boolean |
hasRequestRules()
|
org.apache.tapestry5.services.Request |
processLink(org.apache.tapestry5.services.Request request,
URLRewriteContext context)
Processes rules for rewriting links. |
org.apache.tapestry5.services.Request |
processRequest(org.apache.tapestry5.services.Request request)
Processes an incoming Request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLRewriterImpl(List<URLRewriterRule> rules)
rules - a List of URLRewriterRule. It cannot
be null.| Method Detail |
|---|
public org.apache.tapestry5.services.Request processRequest(org.apache.tapestry5.services.Request request)
URLRewriter
processRequest in interface URLRewriterrequest - a Request.
Request. It
cannot be null.
public org.apache.tapestry5.services.Request processLink(org.apache.tapestry5.services.Request request,
URLRewriteContext context)
URLRewriter
processLink in interface URLRewriterrequest - the request to examinecontext - the context providing additional information for rewriting
public boolean hasRequestRules()
hasRequestRules in interface URLRewriterpublic boolean hasLinkRules()
hasLinkRules in interface URLRewriter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||