|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.server.communication.SharedStateWriter
public class SharedStateWriter
Serializes shared state
changes to JSON.
Constructor Summary | |
---|---|
SharedStateWriter()
|
Method Summary | |
---|---|
void |
write(UI ui,
java.io.Writer writer)
Writes a JSON object containing the pending state changes of the dirty connectors of the given UI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SharedStateWriter()
Method Detail |
---|
public void write(UI ui, java.io.Writer writer) throws java.io.IOException
ui
- The UI whose state changes should be written.writer
- The writer to use.
java.io.IOException
- If the serialization fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |