Package com.vaadin.flow.router
Class DefaultRoutePathProvider
- java.lang.Object
-
- com.vaadin.flow.router.DefaultRoutePathProvider
-
- All Implemented Interfaces:
RoutePathProvider
public class DefaultRoutePathProvider extends Object implements RoutePathProvider
Default implementation forRoutePathProvider
.- Since:
- Author:
- Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description DefaultRoutePathProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRoutePath(Class<?> navigationTarget)
Produces a path for thenavigationTarget
component class.
-
-
-
Method Detail
-
getRoutePath
public String getRoutePath(Class<?> navigationTarget)
Description copied from interface:RoutePathProvider
Produces a path for thenavigationTarget
component class.- Specified by:
getRoutePath
in interfaceRoutePathProvider
- Parameters:
navigationTarget
- a navigation target class- Returns:
- a route path for the navigation target, may be
null
if the provided class is not a navigation target
-
-