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 ResourceWriter
- java.lang.Object
-
- com.vaadin.server.communication.ResourceWriter
-
All Implemented Interfaces:
public class ResourceWriter extends Object implements Serializable
Serializes resources to JSON. Currently only used for
CustomLayout
templates.Since:
7.1
Author:
Vaadin Ltd
See Also:
-
-
Constructor Summary
Constructors Constructor Description ResourceWriter()
-
Method Summary
All Methods Modifier and Type Method Description void
write(UI ui, Writer writer, JsonPaintTarget target)
Writes a JSON object containing registered resources.
-
-
-
Method Detail
-
write
public void write(UI ui, Writer writer, JsonPaintTarget target) throws IOException
Writes a JSON object containing registered resources.
Parameters:
ui
- TheUI
whose resources to write.writer
- TheWriter
to use.target
- TheJsonPaintTarget
containing the resources.Throws:
-
-