Package jakarta.portlet
Interface PortletURLGenerationListener<T extends PortletURL & RenderURL,U extends PortletURL & ActionURL>
-
public interface PortletURLGenerationListener<T extends PortletURL & RenderURL,U extends PortletURL & ActionURL>Portlet applications can register portlet URL listeners in order to filter URLs before they get generated. In order to receive a callback from the portlet container before a portlet URL is generated the portlet application needs to implement this interface and register it in the deployment descriptor with thelistenerelement.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfilterActionURL(U actionURL)Callback being called by the portlet container beforetoStringorwriteare executed on action URLs.voidfilterRenderURL(T renderURL)Callback being called by the portlet container beforetoStringorwriteare executed on render URLs.voidfilterResourceURL(ResourceURL resourceURL)Callback being called by the portlet container beforetoStringorwriteare executed on resource URLs.
-
-
-
Method Detail
-
filterActionURL
void filterActionURL(U actionURL)
Callback being called by the portlet container beforetoStringorwriteare executed on action URLs.- Parameters:
actionURL- action URL to be generated
-
filterRenderURL
void filterRenderURL(T renderURL)
Callback being called by the portlet container beforetoStringorwriteare executed on render URLs.- Parameters:
renderURL- render URL to be generated
-
filterResourceURL
void filterResourceURL(ResourceURL resourceURL)
Callback being called by the portlet container beforetoStringorwriteare executed on resource URLs.- Parameters:
resourceURL- resource URL to be generated
-
-