Class JavaScriptBootstrapHandler.JavaScriptBootstrapContext
- java.lang.Object
-
- com.vaadin.flow.server.BootstrapHandler.BootstrapContext
-
- com.vaadin.flow.server.communication.JavaScriptBootstrapHandler.JavaScriptBootstrapContext
-
- Enclosing class:
- JavaScriptBootstrapHandler
public static class JavaScriptBootstrapHandler.JavaScriptBootstrapContext extends BootstrapHandler.BootstrapContext
Custom BootstrapContext forJavaScriptBootstrapHandler
.
-
-
Constructor Summary
Constructors Constructor Description JavaScriptBootstrapContext(VaadinRequest request, VaadinResponse response, UI ui, Function<VaadinRequest,String> callback)
Creates a new context instance using the given parameters.
-
Method Summary
-
Methods inherited from class com.vaadin.flow.server.BootstrapHandler.BootstrapContext
getAppId, getApplicationParameters, getPageConfigurationAnnotation, getPageConfigurationAnnotations, getPushMode, getPwaRegistry, getRequest, getResponse, getRoute, getService, getSession, getUI, getUriResolver, isInitTheme, isProductionMode, setInitTheme
-
-
-
-
Constructor Detail
-
JavaScriptBootstrapContext
public JavaScriptBootstrapContext(VaadinRequest request, VaadinResponse response, UI ui, Function<VaadinRequest,String> callback)
Creates a new context instance using the given parameters.- Parameters:
request
- the request objectresponse
- the response objectui
- the UI objectcallback
- a callback that is invoked to resolve the context root from the request
-
-