|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.terminal.gwt.server.AbstractCommunicationManager
com.vaadin.terminal.gwt.server.CommunicationManager
public class CommunicationManager
Application manager processes changes and paints for single application instance. This class handles applications running as servlets.
AbstractCommunicationManager,
Serialized Form| Nested Class Summary |
|---|
| Field Summary |
|---|
| Fields inherited from class com.vaadin.terminal.gwt.server.AbstractCommunicationManager |
|---|
VAR_ARRAYITEM_SEPARATOR, VAR_BURST_SEPARATOR, VAR_ESCAPE_CHARACTER |
| Constructor Summary | |
|---|---|
CommunicationManager(Application application)
TODO New constructor - document me! |
|
CommunicationManager(Application application,
AbstractApplicationServlet applicationServlet)
Deprecated. use CommunicationManager(Application) instead |
|
| Method Summary | |
|---|---|
void |
cleanStreamVariable(VariableOwner owner,
String name)
|
StreamVariable |
getStreamVariable(String paintableId,
String variableName)
Gets a stream variable based on paintable id and variable name. |
String |
getStreamVariableTargetUrl(VariableOwner owner,
String name,
StreamVariable value)
|
void |
handleFileUpload(HttpServletRequest request,
HttpServletResponse response)
Handles file upload request submitted via Upload component. |
void |
handleUidlRequest(HttpServletRequest request,
HttpServletResponse response,
AbstractApplicationServlet applicationServlet,
Window window)
Handles UIDL request TODO document |
protected void |
unregisterPaintable(Component p)
Called when communication manager stops listening for repaints for given component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public CommunicationManager(Application application,
AbstractApplicationServlet applicationServlet)
CommunicationManager(Application) instead
application - applicationServlet - public CommunicationManager(Application application)
application - | Method Detail |
|---|
public void handleFileUpload(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
AbstractCommunicationManager.InvalidUIDLSecurityKeyException
request - response -
IOException
InvalidUIDLSecurityKeyException
AbstractCommunicationManager.InvalidUIDLSecurityKeyException#getStreamVariableTargetUrl(ReceiverOwner, String, StreamVariable)
public StreamVariable getStreamVariable(String paintableId,
String variableName)
null if no matching variable has been registered.
paintableId - id of paintable to get variable forvariableName - name of the stream variable
null if not
found
public void handleUidlRequest(HttpServletRequest request,
HttpServletResponse response,
AbstractApplicationServlet applicationServlet,
Window window)
throws IOException,
ServletException,
AbstractCommunicationManager.InvalidUIDLSecurityKeyException
request - response - applicationServlet - window - target window of the UIDL request, can be null if window not
found
IOException
ServletException
AbstractCommunicationManager.InvalidUIDLSecurityKeyExceptionprotected void unregisterPaintable(Component p)
AbstractCommunicationManager
unregisterPaintable in class AbstractCommunicationManager
public String getStreamVariableTargetUrl(VariableOwner owner,
String name,
StreamVariable value)
public void cleanStreamVariable(VariableOwner owner,
String name)
cleanStreamVariable in class AbstractCommunicationManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||