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
Class DefaultRoutePathProvider
java.lang.Object
com.vaadin.flow.router.DefaultRoutePathProvider
All Implemented Interfaces:
Default implementation for RoutePathProvider
.
Since:
Author:
Vaadin Ltd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRoutePath
(Class<?> navigationTarget) Produces a path for the
navigationTarget
component class.static String
getRoutePath
(String routeValue, Class<?> routeClass)
-
Constructor Details
-
DefaultRoutePathProvider
public DefaultRoutePathProvider()
-
-
Method Details
-
getRoutePath
Description copied from interface:
RoutePathProvider
Produces a path for the
navigationTarget
component class.Specified by:
getRoutePath
in interfaceRoutePathProvider
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 -
getRoutePath
-