Package com.vaadin.flow.router.internal
Class InternalRedirectHandler
java.lang.Object
com.vaadin.flow.router.internal.InternalRedirectHandler
- All Implemented Interfaces:
NavigationHandler
,Serializable
Handles navigation by redirecting the user to some location in the
application.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
ConstructorDescriptionInternalRedirectHandler
(Location target) Creates a new redirect handler for the provided location. -
Method Summary
Modifier and TypeMethodDescriptionint
handle
(NavigationEvent event) Handles the navigation event.
-
Constructor Details
-
InternalRedirectHandler
Creates a new redirect handler for the provided location.- Parameters:
target
- the target of the redirect, notnull
-
-
Method Details