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 void
write(UI ui, Writer writer, PaintTarget target)
Writes a JSON array containing the changes of all dirtyLegacyComponent
s 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 dirtyLegacyComponent
s in the given UI.- Parameters:
ui
- TheUI
whose legacy changes to writewriter
- TheWriter
to write the JSON withtarget
- ThePaintTarget
to use- Throws:
IOException
- If the serialization fails.
-
-