org.apache.tapestry5.internal.services
Class ComponentEventLinkEncoderMethodAdvice
java.lang.Object
org.apache.tapestry5.internal.services.ComponentEventLinkEncoderMethodAdvice
- All Implemented Interfaces:
- org.apache.tapestry5.plastic.MethodAdvice
public class ComponentEventLinkEncoderMethodAdvice
- extends Object
- implements org.apache.tapestry5.plastic.MethodAdvice
Advices
ComponentEventLinkEncoder.createComponentEventLink(org.apache.tapestry5.services.ComponentEventRequestParameters, boolean)
and
ComponentEventLinkEncoder.createPageRenderLink(org.apache.tapestry5.services.PageRenderRequestParameters)
to rewrites the returned links using URLRewriter.
|
Constructor Summary |
ComponentEventLinkEncoderMethodAdvice(URLRewriter urlRewriter,
org.apache.tapestry5.services.Request request,
javax.servlet.http.HttpServletRequest httpServletRequest,
org.apache.tapestry5.services.Response response,
boolean forPageLink,
org.apache.tapestry5.services.ContextPathEncoder contextPathEncoder,
org.apache.tapestry5.services.BaseURLSource baseURLSource)
Single constructor of this class. |
|
Method Summary |
void |
advise(org.apache.tapestry5.plastic.MethodInvocation invocation)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentEventLinkEncoderMethodAdvice
public ComponentEventLinkEncoderMethodAdvice(URLRewriter urlRewriter,
org.apache.tapestry5.services.Request request,
javax.servlet.http.HttpServletRequest httpServletRequest,
org.apache.tapestry5.services.Response response,
boolean forPageLink,
org.apache.tapestry5.services.ContextPathEncoder contextPathEncoder,
org.apache.tapestry5.services.BaseURLSource baseURLSource)
- Single constructor of this class.
- Parameters:
urlRewriter - an URLRewriter. It cannot be null.request - a Request. It cannot be null.httpServletRequest - an HttpServletRequest. It cannot be null.response - a Response. It cannot be null.forPageLink - true if the advice is for page link creation, false for
component event link creation.
advise
public void advise(org.apache.tapestry5.plastic.MethodInvocation invocation)
- Specified by:
advise in interface org.apache.tapestry5.plastic.MethodAdvice
Copyright © 2012. All Rights Reserved.