Package com.vaadin.server.communication
Class LegacyUidlWriter
- java.lang.Object
-
- com.vaadin.server.communication.LegacyUidlWriter
-
- All Implemented Interfaces:
Serializable
public class LegacyUidlWriter extends Object implements Serializable
Serializes legacy UIDL changes to JSON.- Since:
- 7.1
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LegacyUidlWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(UI ui, Writer writer, PaintTarget target)Writes a JSON array containing the changes of all dirtyLegacyComponents in the given UI.
-
-
-
Method Detail
-
write
public void write(UI ui, Writer writer, PaintTarget target) throws IOException
Writes a JSON array containing the changes of all dirtyLegacyComponents in the given UI.- Parameters:
ui- TheUIwhose legacy changes to writewriter- TheWriterto write the JSON withtarget- ThePaintTargetto use- Throws:
IOException- If the serialization fails.
-
-