Uses of Class
com.vaadin.flow.router.NavigationState
-
Packages that use NavigationState Package Description com.vaadin.flow.router com.vaadin.flow.router.internal -
-
Uses of NavigationState in com.vaadin.flow.router
Methods in com.vaadin.flow.router that return NavigationState Modifier and Type Method Description NavigationStateNavigationStateBuilder. build()Returns the NavigationState instance that has been built so far and resets the internal state of this builder.NavigationStateRouteResolver. resolve(ResolveRequest request)Resolves the given request to a new NavigationState.Methods in com.vaadin.flow.router that return types with arguments of type NavigationState Modifier and Type Method Description Optional<NavigationState>Router. resolveNavigationTarget(Location location)Resolve the navigation target for givenLocationusing the router routeResolver.Optional<NavigationState>Router. resolveNavigationTarget(String pathInfo, Map<String,String[]> parameterMap)Resolve the navigation target for given path and parameter map using the router routeResolver.Optional<NavigationState>Router. resolveRouteNotFoundNavigationTarget()Resolve a navigation target with an emptyNotFoundException.Methods in com.vaadin.flow.router with parameters of type NavigationState Modifier and Type Method Description voidBeforeEvent. forwardTo(NavigationHandler forwardTarget, NavigationState targetState)Forward the navigation to use the provided navigation handler instead of the currently used handler.voidBeforeEvent. forwardTo(NavigationState targetState)Forward the navigation to the given navigation state.voidBeforeEvent. rerouteTo(NavigationHandler rerouteTarget, NavigationState targetState)Reroutes the navigation to use the provided navigation handler instead of the currently used handler.voidBeforeEvent. rerouteTo(NavigationState targetState)Reroutes the navigation to the given navigation state.voidLocationChangeEvent. 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 NavigationState Modifier and Type Method Description NavigationStateAbstractNavigationStateRenderer. getNavigationState()Gets the targeted navigation state.NavigationStateDefaultRouteResolver. resolve(ResolveRequest request)Constructors in com.vaadin.flow.router.internal with parameters of type NavigationState Constructor 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.
-