com.vaadin.terminal.gwt.server
Class PortletCommunicationManager

java.lang.Object
  extended by com.vaadin.terminal.gwt.server.AbstractCommunicationManager
      extended by com.vaadin.terminal.gwt.server.PortletCommunicationManager
All Implemented Interfaces:
Paintable.RepaintRequestListener, Serializable

public class PortletCommunicationManager
extends AbstractCommunicationManager

TODO document me!

Author:
peholmst
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.terminal.gwt.server.AbstractCommunicationManager
AbstractCommunicationManager.Callback, AbstractCommunicationManager.ErrorHandlerErrorEvent, AbstractCommunicationManager.InvalidUIDLSecurityKeyException, AbstractCommunicationManager.Request, AbstractCommunicationManager.Response, AbstractCommunicationManager.Session, AbstractCommunicationManager.SimpleMultiPartInputStream, AbstractCommunicationManager.URIHandlerErrorImpl
 
Field Summary
 
Fields inherited from class com.vaadin.terminal.gwt.server.AbstractCommunicationManager
VAR_ARRAYITEM_SEPARATOR, VAR_BURST_SEPARATOR, VAR_ESCAPE_CHARACTER
 
Constructor Summary
PortletCommunicationManager(Application application)
           
 
Method Summary
protected  void cleanStreamVariable(VariableOwner owner, String name)
           
 void handleFileUpload(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response)
           
 void handleUidlRequest(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response, AbstractApplicationPortlet applicationPortlet, Window window)
           
protected  void unregisterPaintable(Component p)
          Called when communication manager stops listening for repaints for given component.
 
Methods inherited from class com.vaadin.terminal.gwt.server.AbstractCommunicationManager
changeVariables, closeJsonMessage, decodeVariableValue, doGetApplicationWindow, doHandleSimpleMultipartFileUpload, doHandleUidlRequest, doHandleXhrFilePost, getApplication, getPaintableId, getRequestPayload, getVariableOwner, handleURI, handleVariableBurst, hasPaintableId, highlightPaintable, isProductionMode, makeAllPaintablesDirty, openJsonMessage, printHighlightedComponentHierarchy, repaintRequested, requireLocale, sendUploadResponse, setProductionMode, streamToReceiver, writeUidlResponce
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletCommunicationManager

public PortletCommunicationManager(Application application)
Method Detail

handleFileUpload

public void handleFileUpload(javax.portlet.ResourceRequest request,
                             javax.portlet.ResourceResponse response)
                      throws IOException
Throws:
IOException

unregisterPaintable

protected void unregisterPaintable(Component p)
Description copied from class: AbstractCommunicationManager
Called when communication manager stops listening for repaints for given component.

Overrides:
unregisterPaintable in class AbstractCommunicationManager

handleUidlRequest

public void handleUidlRequest(javax.portlet.ResourceRequest request,
                              javax.portlet.ResourceResponse response,
                              AbstractApplicationPortlet applicationPortlet,
                              Window window)
                       throws AbstractCommunicationManager.InvalidUIDLSecurityKeyException,
                              IOException
Throws:
AbstractCommunicationManager.InvalidUIDLSecurityKeyException
IOException

cleanStreamVariable

protected void cleanStreamVariable(VariableOwner owner,
                                   String name)
Specified by:
cleanStreamVariable in class AbstractCommunicationManager


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