Interface VaadinPortletSession.PortletListener

  • All Superinterfaces:
    Serializable
    Enclosing class:
    VaadinPortletSession

    public static interface VaadinPortletSession.PortletListener
    extends Serializable
    Listener interface for the various types of JSR-286 portlet requests. The listener methods are called by the request handler PortletListenerNotifier after the session is locked and the corresponding UI has been found (if already created) but before other request processing takes place. Direct rendering of output is not possible in a portlet listener and the JSR-286 limitations on allowed operations in each phase or portlet request processing must be respected by the listeners. Note that internal action requests used by the framework to trigger events or set shared parameters do not call the action request listener but will result in a later event or render request that will trigger the corresponding listener.
    • Method Detail

      • handleRenderRequest

        void handleRenderRequest​(javax.portlet.RenderRequest request,
                                 javax.portlet.RenderResponse response,
                                 UI uI)
      • handleActionRequest

        void handleActionRequest​(javax.portlet.ActionRequest request,
                                 javax.portlet.ActionResponse response,
                                 UI uI)
      • handleEventRequest

        void handleEventRequest​(javax.portlet.EventRequest request,
                                javax.portlet.EventResponse response,
                                UI uI)
      • handleResourceRequest

        void handleResourceRequest​(javax.portlet.ResourceRequest request,
                                   javax.portlet.ResourceResponse response,
                                   UI uI)