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:

JavaScriptBootstrapHandler

public static class JavaScriptBootstrapHandler.JavaScriptBootstrapContext extends BootstrapHandler.BootstrapContext

Custom BootstrapContext for JavaScriptBootstrapHandler.

  • 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 object

      response - the response object

      ui - the UI object

      callback - a callback that is invoked to resolve the context root from the request