We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.server.communication.
Class SharedStateWriter
- java.lang.Object
-
- com.vaadin.server.communication.SharedStateWriter
-
All Implemented Interfaces:
public class SharedStateWriter extends Object implements Serializable
Serializes
shared state
changes to JSON.Since:
7.1
Author:
Vaadin Ltd
See Also:
-
-
Method Detail
-
write
public Set<String> write(UI ui, Writer writer) throws IOException
Writes a JSON object containing the pending state changes of the dirty connectors of the given UI.
Parameters:
ui
- The UI whose state changes should be written.writer
- The writer to use.Returns:
a set of connector ids with state changes
Throws:
IOException
- If the serialization fails.
-
-