Package com.vaadin.server.communication
Class ConnectorTypeWriter
- java.lang.Object
-
- com.vaadin.server.communication.ConnectorTypeWriter
-
- All Implemented Interfaces:
Serializable
public class ConnectorTypeWriter extends Object implements Serializable
Serializes connector type mappings to JSON.- Since:
- 7.1
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectorTypeWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(UI ui, Writer writer, PaintTarget target)Writes a JSON object containing connector-ID-to-type-ID mappings for each dirty Connector in the given UI.
-
-
-
Method Detail
-
write
public void write(UI ui, Writer writer, PaintTarget target) throws IOException
Writes a JSON object containing connector-ID-to-type-ID mappings for each dirty Connector in the given UI.- Parameters:
ui- TheUIcontaining dirty connectorswriter- TheWriterused to write the JSON.target- The paint target containing the connector type IDs.- Throws:
IOException- If the serialization fails.
-
-