Package com.vaadin.server.communication
Class ConnectorHierarchyWriter
- java.lang.Object
-
- com.vaadin.server.communication.ConnectorHierarchyWriter
-
- All Implemented Interfaces:
Serializable
public class ConnectorHierarchyWriter extends Object implements Serializable
Serializes a connector hierarchy to JSON.- Since:
- 7.1
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectorHierarchyWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(UI ui, Writer writer, Set<String> stateUpdateConnectors)Writes a JSON object containing the connector hierarchy (parent-child mappings) of the dirty connectors in the given UI.
-
-
-
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- TheUIwhose hierarchy to write.writer- TheWriterused to write the JSON.stateUpdateConnectors- connector ids with state changes- Throws:
IOException- If the serialization fails.
-
-