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, 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 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 Component>> routes, Set<Class<? extends HasErrorParameter<?>>> errorRoutes, Set<Class<? extends 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
Fields in com.vaadin.browserless.mocks declared as RoutesModifier and TypeFieldDescriptionfinal @NonNull RoutesMockSpringServlet.routesThe routes registered when the service is created.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 RoutesModifierConstructorDescriptionMockSpringServlet(@NonNull Routes routes, @NonNull org.springframework.context.ApplicationContext ctx, @NonNull UIFactory uiFactory) Creates the servlet.MockVaadinServlet(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. -
Uses of Routes in com.vaadin.browserless.quarkus.mocks
Fields in com.vaadin.browserless.quarkus.mocks declared as RoutesModifier and TypeFieldDescriptionprotected final RoutesMockQuarkusServlet.routesConfiguration object of all routes and error routes for test.Constructors in com.vaadin.browserless.quarkus.mocks with parameters of type RoutesModifierConstructorDescriptionMockQuarkusServlet(Routes routes, jakarta.enterprise.inject.spi.BeanManager beanManager, @NonNull UIFactory uiFactory) Creates aQuarkusVaadinServletfor testing environment.