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 ClientRpcWriter
- java.lang.Object
-
- com.vaadin.server.communication.ClientRpcWriter
-
All Implemented Interfaces:
public class ClientRpcWriter extends Object implements Serializable
Serializes
client RPC
invocations to JSON.Since:
7.1
Author:
Vaadin Ltd
See Also:
-
-
Constructor Summary
Constructors Constructor Description ClientRpcWriter()
-
-
-
Method Detail
-
write
public void write(UI ui, Writer writer) throws IOException
Writes a JSON object containing all pending client RPC invocations in the given UI.
Parameters:
ui
- TheUI
whose RPC calls to write.writer
- TheWriter
used to write the JSON.Throws:
IOException
- If the serialization fails.
-
-