use of com.vaadin.flow.server.communication.IndexHtmlRequestHandler in project flow by vaadin.
the class VaadinServletService method addBootstrapHandler.
private void addBootstrapHandler(List<RequestHandler> handlers) {
if (getDeploymentConfiguration().useV14Bootstrap()) {
handlers.add(0, new BootstrapHandler());
getLogger().debug("Using '{}' in deprecated V14 bootstrapping", BootstrapHandler.class.getName());
UsageStatistics.markAsUsed(Constants.STATISTIC_FLOW_BOOTSTRAPHANDLER, Version.getFullVersion());
} else {
handlers.add(0, new IndexHtmlRequestHandler());
getLogger().debug("Using '{}' in client mode bootstrapping", IndexHtmlRequestHandler.class.getName());
}
}
Aggregations