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.
Class DefaultRoutePathProvider
- java.lang.Object
-
- com.vaadin.flow.router.DefaultRoutePathProvider
-
All Implemented Interfaces:
public class DefaultRoutePathProvider extends Object implements RoutePathProvider
Default implementation for
RoutePathProvider
.Since:
Author:
Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description DefaultRoutePathProvider()
-
Method Summary
All Methods Modifier and Type Method Description String
getRoutePath​(Class<?> navigationTarget)
Produces a path for the
navigationTarget
component class.
-
-
-
Method Detail
-
getRoutePath
public String getRoutePath​(Class<?> navigationTarget)
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
-
-