@Deprecated public class LegacyCommunicationManager extends Object implements Serializable
com.vaadin.client.ApplicationConnection
.
TODO Document better!
Modifier and Type | Class and Description |
---|---|
class |
LegacyCommunicationManager.ClientCache
Deprecated.
As of 7.1. See #11410.
|
static class |
LegacyCommunicationManager.InvalidUIDLSecurityKeyException
Deprecated.
As of 7.1. Will be removed in the future.
|
Constructor and Description |
---|
LegacyCommunicationManager(VaadinSession session)
Deprecated.
TODO New constructor - document me!
|
Modifier and Type | Method and Description |
---|---|
static elemental.json.JsonObject |
encodeState(ClientConnector connector,
SharedState state)
Deprecated.
As of 7.1. See #11411.
|
LegacyCommunicationManager.ClientCache |
getClientCache(UI uI)
Deprecated.
As of 7.1. See #11410.
|
ClientConnector |
getConnector(UI uI,
String connectorId)
Deprecated.
As of 7.1. In 7.2 and later, use
uI.getConnectorTracker().getConnector(connectorId) instead.
See ticket #11411. |
Map<String,Class<?>> |
getDependencies()
Deprecated.
As of 7.1. See #11413.
|
protected VaadinSession |
getSession()
Deprecated.
|
String |
getStreamVariableTargetUrl(ClientConnector owner,
String name,
StreamVariable value)
Deprecated.
As of 7.1. See #11411.
|
String |
getTagForType(Class<? extends ClientConnector> class1)
Deprecated.
As of 7.1. Will be removed in the future.
|
void |
handleConnectorRelatedException(ClientConnector connector,
Throwable throwable)
Deprecated.
As of 7.1. See #11411.
|
static boolean |
isComponentVisibleToClient(Component child)
Deprecated.
As of 7.1. See #11411.
|
static boolean |
isConnectorVisibleToClient(ClientConnector connector)
Deprecated.
As of 7.1. See #11411.
|
String |
registerDependency(String resourceUri,
Class<?> context)
Deprecated.
As of 7.1. See #11413.
|
void |
repaintAll(UI ui)
Deprecated.
|
public LegacyCommunicationManager(VaadinSession session)
session
- protected VaadinSession getSession()
@Deprecated public static elemental.json.JsonObject encodeState(ClientConnector connector, SharedState state)
@Deprecated public String registerDependency(String resourceUri, Class<?> context)
LegacyCommunicationManager
if needed and returns a fully
qualified URI.@Deprecated public Map<String,Class<?>> getDependencies()
@Deprecated public LegacyCommunicationManager.ClientCache getClientCache(UI uI)
@Deprecated public static boolean isConnectorVisibleToClient(ClientConnector connector)
isComponentVisibleToClient(Component)
is used. For other types
of connectors, the contextual visibility of its first Component ancestor
is used. If no Component ancestor is found, the connector is not visible.connector
- The connector to checktrue
if the connector is visible to the client,
false
otherwise@Deprecated public static boolean isComponentVisibleToClient(Component child)
child
- The child to check@Deprecated public ClientConnector getConnector(UI uI, String connectorId)
uI.getConnectorTracker().getConnector(connectorId)
instead.
See ticket #11411.@Deprecated public String getTagForType(Class<? extends ClientConnector> class1)
@Deprecated public String getStreamVariableTargetUrl(ClientConnector owner, String name, StreamVariable value)
@Deprecated public void handleConnectorRelatedException(ClientConnector connector, Throwable throwable)
throwable
- the exception to handleconnector
- the connector that the exception is related to@Deprecated public void repaintAll(UI ui)
Copyright © 2022 Vaadin Ltd. All rights reserved.