Package | Description |
---|---|
com.vaadin.flow.router | |
com.vaadin.flow.router.internal |
Modifier and Type | Method and Description |
---|---|
NavigationState |
NavigationStateBuilder.build()
Returns the NavigationState instance that has been built so far and
resets the internal state of this builder.
|
NavigationState |
RouteResolver.resolve(ResolveRequest request)
Resolves the given request to a new NavigationState.
|
Modifier and Type | Method and Description |
---|---|
Optional<NavigationState> |
Router.resolveNavigationTarget(String pathInfo,
Map<String,String[]> parameterMap)
Resolve the navigation target for given path and parameter map using the
router routeResolver.
|
Modifier and Type | Method and Description |
---|---|
void |
BeforeEvent.forwardTo(NavigationHandler forwardTarget,
NavigationState targetState)
Forward the navigation to use the provided navigation handler instead of
the currently used handler.
|
void |
BeforeEvent.forwardTo(NavigationState targetState)
Forward the navigation to the given navigation state.
|
void |
BeforeEvent.rerouteTo(NavigationHandler rerouteTarget,
NavigationState targetState)
Reroutes the navigation to use the provided navigation handler instead of
the currently used handler.
|
void |
LocationChangeEvent.rerouteTo(NavigationState rerouteTargetState)
Reroutes the navigation to show the given component instead of the
component that is currently about to be displayed.
|
void |
BeforeEvent.rerouteTo(NavigationState targetState)
Reroutes the navigation to the given navigation state.
|
Modifier and Type | Method and Description |
---|---|
NavigationState |
AbstractNavigationStateRenderer.getNavigationState()
Gets the targeted navigation state.
|
NavigationState |
DefaultRouteResolver.resolve(ResolveRequest request) |
Constructor and Description |
---|
AbstractNavigationStateRenderer(NavigationState navigationState)
Creates a new renderer for the given navigation state.
|
ErrorStateRenderer(NavigationState navigationState)
Constructs a new state renderer for the given navigation state.
|
NavigationStateRenderer(NavigationState navigationState)
Constructs a new NavigationStateRenderer that handles the given
navigation state.
|
Copyright © 2025. All rights reserved.