All Classes and Interfaces
Classes
Class
Description
Makes sure that the
MockSpringServlet.routes are properly registered,
and that MockSpringServletService is used instead of vanilla SpringVaadinServletService.A mocking service that performs three very important tasks:
Overrides
MockSpringServletService.isAtmosphereAvailable() to tell Vaadin that we don't have Atmosphere (otherwise Vaadin will crash)
Provides some dummy value as a root ID via MockSpringServletService.getMainDivId(com.vaadin.flow.server.VaadinSession, com.vaadin.flow.server.VaadinRequest) (otherwise the mocked servlet env will crash).
Provides a MockSpringVaadinSession instead of SpringVaadinSession.
The class is intentionally opened, to be extensible in user's library.A Vaadin Session with one important difference:
Creates a new session when this one is closed.