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.
com.vaadin.flow.router.
Package com.vaadin.flow.router
Interface RoutePathProvider
All Known Implementing Classes:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Allows to implement a custom navigation target path generation logic for
components annotated with @Route(Route.NAMING_CONVENTION)
.
Since:
Author:
Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptiongetRoutePath
(Class<?> navigationTarget) Produces a path for the
navigationTarget
component class.
-
Method Details
-
getRoutePath
Produces a path for the
navigationTarget
component class.Parameters:
navigationTarget
- a navigation target classReturns:
a route path for the navigation target, may be
null
if the provided class is not a navigation target
-