|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PortletRequestListener
An Application that implements this interface gets notified of
request start and end by the terminal. It is quite similar to the
HttpServletRequestListener, but the parameters are Portlet specific.
If an Application is deployed as both a Servlet and a Portlet, one most
likely needs to implement both.
Only JSR 286 style Portlets are supported.
The interface can be used for several helper tasks including:
ThreadLocal
Alternatives for implementing similar features are are Servlet Filter
s and ApplicationContext.TransactionListeners in Vaadin.
HttpServletRequestListener| Method Summary | |
|---|---|
void |
onRequestEnd(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
This method is called at the end of each request. |
void |
onRequestStart(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
This method is called before Terminal applies the request to
Application. |
| Method Detail |
|---|
void onRequestStart(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Terminal applies the request to
Application.
requestData - the PortletRequest about to change Application state
void onRequestEnd(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
requestData - the PortletRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||