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.flow.server.communication.
Class JavaScriptBootstrapHandler.JavaScriptBootstrapContext
java.lang.Object
com.vaadin.flow.server.BootstrapHandler.BootstrapContext
com.vaadin.flow.server.communication.JavaScriptBootstrapHandler.JavaScriptBootstrapContext
Enclosing class:
public static class JavaScriptBootstrapHandler.JavaScriptBootstrapContext
extends BootstrapHandler.BootstrapContext
Custom BootstrapContext for JavaScriptBootstrapHandler
.
-
Constructor Summary
ConstructorsConstructorDescriptionJavaScriptBootstrapContext
(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 Details
-
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
-