Package com.vaadin.flow.router
Interface RouteResolver
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultRouteResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface RouteResolver extends Serializable
Callback interface for resolvingResolveRequest
s to newNavigationState
s.- Since:
- 1.0.
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NavigationState
resolve(ResolveRequest request)
Resolves the given request to a new NavigationState.
-
-
-
Method Detail
-
resolve
NavigationState resolve(ResolveRequest request)
Resolves the given request to a new NavigationState.- Parameters:
request
- the request to resolve- Returns:
- the newly resolved navigation state instance
-
-