|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.server.communication.UidlWriter
public class UidlWriter
Serializes pending server-side changes to UI state to JSON. This includes shared state, client RPC invocations, connector hierarchy changes, connector type information among others.
| Constructor Summary | |
|---|---|
UidlWriter()
|
|
| Method Summary | |
|---|---|
void |
write(UI ui,
java.io.Writer writer,
boolean async)
Writes a JSON object containing all pending changes to the given UI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UidlWriter()
| Method Detail |
|---|
public void write(UI ui,
java.io.Writer writer,
boolean async)
throws java.io.IOException
ui - The UI whose changes to writewriter - The writer to useanalyzeLayouts - Whether detected layout problems should be logged.async - True if this message is sent by the server asynchronously,
false if it is a response to a client message.
java.io.IOException - If the writing fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||