@FunctionalInterface public interface NavigationHandler extends Serializable
UI
or by redirecting the user to another location.
Subclasses using external data should take care to avoid synchronization
issues since the same navigation handler instances may be used concurrently
from multiple threads. Data provided in the navigation event should be safe
to use without synchronization since the associated VaadinSession
and
everything related to it will be locked.
Modifier and Type | Method and Description |
---|---|
int |
handle(NavigationEvent event)
Handles the navigation event.
|
int handle(NavigationEvent event)
event
- the navigation event to handleCopyright © 2023. All rights reserved.