You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.router.

Class DefaultRoutePathProvider

    • Constructor Detail

      • DefaultRoutePathProvider

        public DefaultRoutePathProvider()
    • 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 interface RoutePathProvider

        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