|
||||||||||
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.TransactionListener
s in Vaadin.
HttpServletRequestListener
Method Summary | |
---|---|
void |
onRequestEnd(PortletRequest request,
PortletResponse response)
This method is called at the end of each request. |
void |
onRequestStart(PortletRequest request,
PortletResponse response)
This method is called before Terminal applies the request to
Application. |
Method Detail |
---|
void onRequestStart(PortletRequest request, PortletResponse response)
Terminal
applies the request to
Application.
requestData
- the PortletRequest
about to change Application statevoid onRequestEnd(PortletRequest request, PortletResponse response)
requestData
- the PortletRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |