public class SharedStateWriter extends Object implements Serializable
shared state
changes to JSON.Constructor and Description |
---|
SharedStateWriter() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
write(UI ui,
Writer writer)
Writes a JSON object containing the pending state changes of the dirty
connectors of the given UI.
|
public Set<String> write(UI ui, Writer writer) throws IOException
ui
- The UI whose state changes should be written.writer
- The writer to use.IOException
- If the serialization fails.Copyright © 2017 Vaadin Ltd. All rights reserved.