Uses of Class
com.vaadin.browserless.internal.Routes
Packages that use Routes
Package
Description
-
Uses of Routes in com.vaadin.browserless
Methods in com.vaadin.browserless that return RoutesModifier and TypeMethodDescriptionprotected RoutesBaseBrowserlessTest.discoverRoutes()Equivalent todiscoverRoutes(scanPackages()).protected static RoutesBaseBrowserlessTest.discoverRoutes(Set<String> packageNames) Discover and return Routes for mocked Vaadin core system.Method parameters in com.vaadin.browserless with type arguments of type RoutesModifier 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 Routes in com.vaadin.browserless.internal
Methods in com.vaadin.browserless.internal that return RoutesModifier and TypeMethodDescriptionRoutes.autoDiscoverViews()Auto-discovers everything in the whole classpath, registers it intothisand returnsthis.Routes.autoDiscoverViews(String... packageNames) Auto-discovers everything, registers it intothisand returnsthis.Routes.copy(Set<Class<? extends com.vaadin.flow.component.Component>> routes, Set<Class<? extends com.vaadin.flow.router.HasErrorParameter<?>>> errorRoutes, Set<Class<? extends com.vaadin.flow.router.RouterLayout>> layouts, boolean skipPwaInit) Creates a new configuration with the given values; the sets are not copied.Creates a new configuration containing the routes, error routes and layouts of both this and the other configuration.Methods in com.vaadin.browserless.internal with parameters of type RoutesModifier and TypeMethodDescriptionCreates a new configuration containing the routes, error routes and layouts of both this and the other configuration.static voidstatic voidstatic voidstatic voidMockVaadin.setup(Routes routes, UIFactory uiFactory, Set<? extends Class<?>> lookupServices, BrowserlessConfiguration configuration) Mocks Vaadin for the current test method: -
Uses of Routes in com.vaadin.browserless.mocks
Methods in com.vaadin.browserless.mocks that return RoutesModifier and TypeMethodDescriptionMockVaadinServlet.getRoutes()Returns the routes this servlet registers.Constructors in com.vaadin.browserless.mocks with parameters of type RoutesModifierConstructorDescriptionMockVaadinServlet(Routes routes) Creates a servlet serving the given routes, producingMockedUIinstances.MockVaadinServlet(Routes routes, UIFactory uiFactory) Creates a servlet serving the given routes, producing UIs from the given factory.