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 StringgetRoutePath(Class<?> navigationTarget)Produces a path for thenavigationTargetcomponent class.
-
-
-
Method Detail
-
getRoutePath
public String getRoutePath(Class<?> navigationTarget)
Description copied from interface:RoutePathProviderProduces a path for thenavigationTargetcomponent class.- Specified by:
getRoutePathin interfaceRoutePathProvider- Parameters:
navigationTarget- a navigation target class- Returns:
- a route path for the navigation target, may be
nullif the provided class is not a navigation target
-
-