com.vaadin.server.communication
Class PortletListenerNotifier

java.lang.Object
  extended by com.vaadin.server.SynchronizedRequestHandler
      extended by com.vaadin.server.communication.PortletListenerNotifier
All Implemented Interfaces:
RequestHandler, java.io.Serializable

public class PortletListenerNotifier
extends SynchronizedRequestHandler

Notifies VaadinPortletSession.PortletListeners of a received portlet request.

Since:
7.1
Author:
Vaadin Ltd
See Also:
Serialized Form

Constructor Summary
PortletListenerNotifier()
           
 
Method Summary
 boolean synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
          Fires portlet request events to any VaadinPortletSession.PortletListeners registered to the given session using VaadinPortletSession.addPortletListener(PortletListener).
 
Methods inherited from class com.vaadin.server.SynchronizedRequestHandler
handleRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletListenerNotifier

public PortletListenerNotifier()
Method Detail

synchronizedHandleRequest

public boolean synchronizedHandleRequest(VaadinSession session,
                                         VaadinRequest request,
                                         VaadinResponse response)
                                  throws java.io.IOException
Fires portlet request events to any VaadinPortletSession.PortletListeners registered to the given session using VaadinPortletSession.addPortletListener(PortletListener). The PortletListener method corresponding to the request type is invoked.

Specified by:
synchronizedHandleRequest in class SynchronizedRequestHandler
Parameters:
session - The session for the request
request - The request to handle
response - The response object to which a response can be written.
Returns:
true if a response has been written and no further request handlers should be called, otherwise false
Throws:
java.io.IOException - If an IO error occurred
See Also:
SynchronizedRequestHandler.handleRequest(VaadinSession, VaadinRequest, VaadinResponse)


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