Uses of Class
com.vaadin.flow.router.NavigationState
-
Uses of NavigationState in com.vaadin.flow.component.internal
Constructors in com.vaadin.flow.component.internal with parameters of type NavigationStateModifierConstructorDescriptionJavaScriptNavigationStateRenderer
(NavigationState navigationState) Constructs a new NavigationStateRenderer that handles the given navigation state.
-
Uses of NavigationState in com.vaadin.flow.router
Methods in com.vaadin.flow.router that return NavigationStateModifier and TypeMethodDescriptionNavigationStateBuilder.build()
Returns the NavigationState instance that has been built so far and resets the internal state of this builder.
RouteResolver.resolve
(ResolveRequest request) Resolves the given request to a new NavigationState.
Methods in com.vaadin.flow.router that return types with arguments of type NavigationStateModifier and TypeMethodDescriptionRouter.resolveNavigationTarget
(Location location) Resolve the navigation target for given
Location
using the router routeResolver.Router.resolveNavigationTarget
(String pathInfo, Map<String, String[]> parameterMap) Resolve the navigation target for given path and parameter map using the router routeResolver.
Router.resolveRouteNotFoundNavigationTarget()
Resolve a navigation target with an empty
NotFoundException
.Methods in com.vaadin.flow.router with parameters of type NavigationStateModifier and TypeMethodDescriptionvoid
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
BeforeEvent.rerouteTo
(NavigationState targetState) Reroutes the navigation to the given navigation state.
void
LocationChangeEvent.rerouteTo
(NavigationState rerouteTargetState) Reroutes the navigation to show the given component instead of the component that is currently about to be displayed.
-
Uses of NavigationState in com.vaadin.flow.router.internal
Methods in com.vaadin.flow.router.internal that return NavigationStateModifier and TypeMethodDescriptionAbstractNavigationStateRenderer.getNavigationState()
Gets the targeted navigation state.
DefaultRouteResolver.resolve
(ResolveRequest request) Constructors in com.vaadin.flow.router.internal with parameters of type NavigationStateModifierConstructorDescriptionAbstractNavigationStateRenderer
(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.