public class ClientRpcWriter extends Object implements Serializable
client RPC invocations to JSON.| Constructor and Description |
|---|
ClientRpcWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(UI ui,
Writer writer)
Writes a JSON object containing all pending client RPC invocations in the
given UI.
|
public void write(UI ui, Writer writer) throws IOException
ui - The UI whose RPC calls to write.writer - The Writer used to write the JSON.IOException - If the serialization fails.Copyright © 2023 Vaadin Ltd. All rights reserved.