You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.server.communication.

Class JavaScriptBootstrapHandler

  • All Implemented Interfaces:

    RequestHandler, Serializable

    Direct Known Subclasses:

    IndexHtmlRequestHandler

    public class JavaScriptBootstrapHandler
    extends BootstrapHandler

    Processes a 'start' request type from the client to initialize server session and UI. It returns a JSON response with everything needed to bootstrapping flow views.

    The handler is for client driven projects where `index.html` does not contain bootstrap data. Bootstraping is the responsability of the `@vaadin/flow` client that is able to ask the server side to create the vaadin session and do the boostrapping lazily.

    For internal use only. May be renamed or removed in a future release.

    See Also:

    Serialized Form