Uses of Interface
com.vaadin.browserless.internal.UIFactory
Packages that use UIFactory
Package
Description
-
Uses of UIFactory in com.vaadin.browserless
Methods in com.vaadin.browserless with parameters of type UIFactoryModifier and TypeMethodDescriptionBrowserlessApplicationContext.Builder.withUIFactory(UIFactory uiFactory) Sets the UI factory used when creating UI instances for this application's windows.SecuredBrowserlessApplicationContext.Builder.withUIFactory(UIFactory uiFactory) Forwards to the matching method on the underlyingBrowserlessApplicationContext.Builder.Method parameters in com.vaadin.browserless with type arguments of type UIFactoryModifier and TypeMethodDescriptionBrowserlessApplicationContext.Builder.withServletFactory(BiFunction<Routes, UIFactory, com.vaadin.flow.server.VaadinServlet> factory) Sets a custom servlet factory.SecuredBrowserlessApplicationContext.Builder.withServletFactory(BiFunction<Routes, UIFactory, com.vaadin.flow.server.VaadinServlet> factory) Forwards to the matching method on the underlyingBrowserlessApplicationContext.Builder. -
Uses of UIFactory in com.vaadin.browserless.internal
Methods in com.vaadin.browserless.internal with parameters of type UIFactoryModifier and TypeMethodDescriptionstatic voidMockVaadin.afterSessionClose(com.vaadin.flow.server.VaadinSession session, UIFactory uiFactory) Internal function, do not call directly.static voidCreates a UI with the given factory and attaches it to the given session, which must be the current one.static voidstatic voidstatic voidMockVaadin.setup(Routes routes, UIFactory uiFactory, Set<? extends Class<?>> lookupServices, BrowserlessConfiguration configuration) Mocks Vaadin for the current test method:static voidstatic voidMockVaadin.setup(UIFactory uiFactory, com.vaadin.flow.server.VaadinServlet servlet, Set<? extends Class<?>> lookupServices) static voidMockVaadin.setup(UIFactory uiFactory, com.vaadin.flow.server.VaadinServlet servlet, Set<? extends Class<?>> lookupServices, BrowserlessConfiguration configuration) Use this method when you need to provide a completely custom servlet (e.g.Constructors in com.vaadin.browserless.internal with parameters of type UIFactory -
Uses of UIFactory in com.vaadin.browserless.mocks
Methods in com.vaadin.browserless.mocks that return UIFactoryModifier and TypeMethodDescriptionMockService.getUiFactory()Returns the factory creating theUIof the session that replaces a closed session of this service.MockVaadinServlet.getUiFactory()Returns the factory creating theUIof the session that replaces a closed session of this servlet.MockVaadinSession.getUiFactory()Returns the factory producing theUIof the session that replaces this one once it is closed.Constructors in com.vaadin.browserless.mocks with parameters of type UIFactoryModifierConstructorDescriptionMockService(com.vaadin.flow.server.VaadinServlet servlet, com.vaadin.flow.function.DeploymentConfiguration deploymentConfiguration, UIFactory uiFactory) Creates a service whose sessions produce UIs from the given factory.MockVaadinServlet(Routes routes, UIFactory uiFactory) Creates a servlet serving the given routes, producing UIs from the given factory.MockVaadinSession(com.vaadin.flow.server.VaadinService service, UIFactory uiFactory) Creates a session for the given service.