|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpServletRequestListener
Application
that implements this interface gets notified of request
start and end by terminal.
Interface can be used for several helper tasks including:
ThreadLocal
Cookie
Alternatives for implementing similar features are are Servlet Filter
s and ApplicationContext.TransactionListener
s in Vaadin.
PortletRequestListener
Method Summary | |
---|---|
void |
onRequestEnd(HttpServletRequest request,
HttpServletResponse response)
This method is called at the end of each request. |
void |
onRequestStart(HttpServletRequest request,
HttpServletResponse response)
This method is called before Terminal applies the request to
Application. |
Method Detail |
---|
void onRequestStart(HttpServletRequest request, HttpServletResponse response)
Terminal
applies the request to
Application.
request
- response
- void onRequestEnd(HttpServletRequest request, HttpServletResponse response)
request
- response
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |