We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.server.communication.
Class ConnectorHierarchyWriter
- java.lang.Object
-
- com.vaadin.server.communication.ConnectorHierarchyWriter
-
All Implemented Interfaces:
public class ConnectorHierarchyWriter extends Object implements Serializable
Serializes a connector hierarchy to JSON.
Since:
7.1
Author:
Vaadin Ltd
See Also:
-
-
Constructor Summary
Constructors Constructor Description ConnectorHierarchyWriter()
-
-
-
Method Detail
-
write
public void write(UI ui, Writer writer, Set<String> stateUpdateConnectors) throws IOException
Writes a JSON object containing the connector hierarchy (parent-child mappings) of the dirty connectors in the given UI.
Parameters:
ui
- TheUI
whose hierarchy to write.writer
- TheWriter
used to write the JSON.stateUpdateConnectors
- connector ids with state changesThrows:
IOException
- If the serialization fails.
-
-