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.
Uses of Class
com.vaadin.flow.spring.SpringVaadinServletService
Packages that use SpringVaadinServletService
-
Uses of SpringVaadinServletService in com.vaadin.testbench.unit.mocks
Subclasses of SpringVaadinServletService in com.vaadin.testbench.unit.mocksModifier and TypeClassDescriptionclass
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 viaMockSpringServletService.getMainDivId(com.vaadin.flow.server.VaadinSession, com.vaadin.flow.server.VaadinRequest)
(otherwise the mocked servlet env will crash). Provides aMockSpringVaadinSession
instead ofSpringVaadinSession
. The class is intentionally opened, to be extensible in user's library.