Package com.vaadin.flow.server
Class BootstrapHandler.BootstrapPageBuilder
- java.lang.Object
-
- com.vaadin.flow.server.BootstrapHandler.BootstrapPageBuilder
-
- All Implemented Interfaces:
BootstrapHandler.PageBuilder
,Serializable
- Enclosing class:
- BootstrapHandler
protected static class BootstrapHandler.BootstrapPageBuilder extends Object implements BootstrapHandler.PageBuilder, Serializable
Builds bootstrap pages. Do not subclass this, unless you really know why you are doing it.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BootstrapPageBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jsoup.nodes.Document
getBootstrapPage(BootstrapHandler.BootstrapContext context)
Returns the bootstrap page for the given context.protected List<String>
getChunkKeys(elemental.json.JsonObject chunks)
Return the list of chunk keys that should be considered by the bootstrap handler.
-
-
-
Method Detail
-
getBootstrapPage
public org.jsoup.nodes.Document getBootstrapPage(BootstrapHandler.BootstrapContext context)
Returns the bootstrap page for the given context.- Specified by:
getBootstrapPage
in interfaceBootstrapHandler.PageBuilder
- Parameters:
context
- Context to generate bootstrap page for.- Returns:
- A document with the corresponding HTML page.
-
-