Uses of Class
com.vaadin.flow.server.VaadinServlet
Packages that use VaadinServlet
Package
Description
-
Uses of VaadinServlet in com.vaadin.browserless
Method parameters in com.vaadin.browserless with type arguments of type VaadinServletModifier and TypeMethodDescriptionBrowserlessApplicationContext.Builder.withServletFactory(BiFunction<Routes, UIFactory, VaadinServlet> factory) Sets a custom servlet factory.SecuredBrowserlessApplicationContext.Builder.withServletFactory(BiFunction<Routes, UIFactory, VaadinServlet> factory) Forwards to the matching method on the underlyingBrowserlessApplicationContext.Builder. -
Uses of VaadinServlet in com.vaadin.browserless.internal
Methods in com.vaadin.browserless.internal with parameters of type VaadinServletModifier and TypeMethodDescriptionstatic voidMockVaadin.setup(UIFactory uiFactory, VaadinServlet servlet) static voidMockVaadin.setup(UIFactory uiFactory, VaadinServlet servlet, Set<? extends Class<?>> lookupServices) static voidMockVaadin.setup(UIFactory uiFactory, VaadinServlet servlet, Set<? extends Class<?>> lookupServices, BrowserlessConfiguration configuration) Use this method when you need to provide a completely custom servlet (e.g.static voidMockVaadin.setup(VaadinServlet servlet) static VaadinServletServiceMockVaadin.setupServlet(VaadinServlet servlet) static VaadinServletServiceMockVaadin.setupServlet(VaadinServlet servlet, Set<? extends Class<?>> lookupServices) static VaadinServletServiceMockVaadin.setupServlet(VaadinServlet servlet, Set<? extends Class<?>> lookupServices, BrowserlessConfiguration configuration) Initializes the givenservletand its service, but does NOT create a session, UI, or set any thread-locals. -
Uses of VaadinServlet in com.vaadin.browserless.mocks
Subclasses of VaadinServlet in com.vaadin.browserless.mocksModifier and TypeClassDescriptionclassMakes sure that theMockSpringServlet.routesare properly registered, and thatMockSpringServletServiceis used instead of vanillaSpringVaadinServletService.classTheVaadinServletof the mocked environment.Methods in com.vaadin.browserless.mocks with parameters of type VaadinServletModifier and TypeMethodDescriptionstatic voidMockVaadinHelper.mockFlowBuildInfo(VaadinServlet servlet) Makes sure the servlet can read aflow-build-info.json, writing a dummy one when the classpath has none.Constructors in com.vaadin.browserless.mocks with parameters of type VaadinServletModifierConstructorDescriptionMockService(VaadinServlet servlet, DeploymentConfiguration deploymentConfiguration) Creates a service whose sessions produceMockedUIinstances.MockService(VaadinServlet servlet, DeploymentConfiguration deploymentConfiguration, UIFactory uiFactory) Creates a service whose sessions produce UIs from the given factory. -
Uses of VaadinServlet in com.vaadin.browserless.quarkus.mocks
Subclasses of VaadinServlet in com.vaadin.browserless.quarkus.mocksModifier and TypeClassDescriptionclassMakes sure that theMockQuarkusServlet.routesare properly registered, and thatMockQuarkusServletServiceis used instead of vanillaQuarkusVaadinServletService. -
Uses of VaadinServlet in com.vaadin.flow.server
Methods in com.vaadin.flow.server that return VaadinServletModifier and TypeMethodDescriptionstatic VaadinServletVaadinServlet.getCurrent()Gets the currently used Vaadin servlet.VaadinServletService.getServlet()Retrieves a reference to the servlet associated with this service.Constructors in com.vaadin.flow.server with parameters of type VaadinServletModifierConstructorDescriptionVaadinServletService(VaadinServlet servlet, DeploymentConfiguration deploymentConfiguration) Creates an instance connected to the given servlet and using the given configuration. -
Uses of VaadinServlet in com.vaadin.flow.spring
Subclasses of VaadinServlet in com.vaadin.flow.springModifier and TypeClassDescriptionclassSpring application context aware Vaadin servlet implementation.Constructors in com.vaadin.flow.spring with parameters of type VaadinServletModifierConstructorDescriptionSpringVaadinServletService(VaadinServlet servlet, DeploymentConfiguration deploymentConfiguration, org.springframework.context.ApplicationContext context) Creates an instance connected to the given servlet and using the given configuration with provided applicationcontext. -
Uses of VaadinServlet in com.vaadin.quarkus
Subclasses of VaadinServlet in com.vaadin.quarkus