com.vaadin.terminal.gwt.server
Class CommunicationManager
java.lang.Object
com.vaadin.terminal.gwt.server.AbstractCommunicationManager
com.vaadin.terminal.gwt.server.CommunicationManager
- All Implemented Interfaces:
- Serializable
public class CommunicationManager
- extends AbstractCommunicationManager
Application manager processes changes and paints for single application
instance.
This class handles applications running as servlets.
- Since:
- 5.0
- Version:
- 7.0.0.alpha3
- Author:
- Vaadin Ltd.
- See Also:
AbstractCommunicationManager
,
Serialized Form
Methods inherited from class com.vaadin.terminal.gwt.server.AbstractCommunicationManager |
changeVariables, closeJsonMessage, doHandleSimpleMultipartFileUpload, doHandleXhrFilePost, getApplication, getConnector, getInitialUIDL, getRequestPayload, getSecurityKey, getSecurityKeyUIDL, handleApplicationRequest, handleBrowserDetailsRequest, handleBurst, handleUidlRequest, highlightConnector, isXSRFEnabled, openJsonMessage, printHighlightedComponentHierarchy, requireLocale, sendUploadResponse, serveConnectorResource, streamToReceiver, unescapeBurst, writeUidlResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommunicationManager
@Deprecated
public CommunicationManager(Application application,
AbstractApplicationServlet applicationServlet)
- Deprecated. use
CommunicationManager(Application)
instead
- Parameters:
application
- applicationServlet
-
CommunicationManager
public CommunicationManager(Application application)
- TODO New constructor - document me!
- Parameters:
application
-
handleFileUpload
public void handleFileUpload(Application application,
WrappedRequest request,
WrappedResponse response)
throws IOException,
AbstractCommunicationManager.InvalidUIDLSecurityKeyException
- Handles file upload request submitted via Upload component.
- Parameters:
root
- The root for this requestrequest
- response
-
- Throws:
IOException
InvalidUIDLSecurityKeyException
AbstractCommunicationManager.InvalidUIDLSecurityKeyException
- See Also:
#getStreamVariableTargetUrl(ReceiverOwner, String, StreamVariable)
postPaint
protected void postPaint(Root root)
- Description copied from class:
AbstractCommunicationManager
- Method called after the paint phase while still being synchronized on the
application
- Overrides:
postPaint
in class AbstractCommunicationManager
cleanStreamVariable
protected void cleanStreamVariable(ClientConnector owner,
String name)
- Specified by:
cleanStreamVariable
in class AbstractCommunicationManager
createBootstrapHandler
protected BootstrapHandler createBootstrapHandler()
- Specified by:
createBootstrapHandler
in class AbstractCommunicationManager
getThemeResourceAsStream
protected InputStream getThemeResourceAsStream(Root root,
String themeName,
String resource)
- Specified by:
getThemeResourceAsStream
in class AbstractCommunicationManager
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.