|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.server.communication.MetadataWriter
public class MetadataWriter
Serializes miscellaneous metadata to JSON.
Constructor Summary | |
---|---|
MetadataWriter()
|
Method Summary | |
---|---|
void |
write(UI ui,
java.io.Writer writer,
boolean repaintAll,
boolean async,
SystemMessages messages)
Writes a JSON object containing metadata related 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 MetadataWriter()
Method Detail |
---|
public void write(UI ui, java.io.Writer writer, boolean repaintAll, boolean async, SystemMessages messages) throws java.io.IOException
ui
- The UI whose metadata to write.writer
- The writer used.repaintAll
- Whether the client should repaint everything.analyzeLayouts
- Whether detected layout problems should be reported in client
and server console.async
- True if this message is sent by the server asynchronously,
false if it is a response to a client message.messages
- a SystemMessages
containing client-side error
messages.
java.io.IOException
- If the serialization fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |