com.vaadin.terminal.gwt.server
Interface HttpServletRequestListener

All Superinterfaces:
Serializable

public interface HttpServletRequestListener
extends Serializable

Application that implements this interface gets notified of request start and end by terminal.

Interface can be used for several helper tasks including:

Alternatives for implementing similar features are are Servlet Filter s and ApplicationContext.TransactionListeners in Vaadin.

Since:
6.2
See Also:
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

onRequestStart

void onRequestStart(HttpServletRequest request,
                    HttpServletResponse response)
This method is called before Terminal applies the request to Application.

Parameters:
request -
response -

onRequestEnd

void onRequestEnd(HttpServletRequest request,
                  HttpServletResponse response)
This method is called at the end of each request.

Parameters:
request -
response -


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.