Package com.vaadin.flow.router
Interface BeforeEnterListener
- All Superinterfaces:
BeforeEnterHandler
,Serializable
- All Known Implementing Classes:
SpringViewAccessChecker
,ViewAccessChecker
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A listener that may be added to the
UI
using
UI.addBeforeEnterListener(BeforeEnterListener)
.
All listeners added this way will be informed when a new set of components
are going to be attached to the UI
.
During this phase there is the possibility to reroute to another navigation
target.
All BeforeEnterListeners will be executed before the BeforeEnterObservers. To
control the order of execution of BeforeEnterListeners, see
ListenerPriority
- Since:
- 1.0
-
Method Summary
Methods inherited from interface com.vaadin.flow.router.internal.BeforeEnterHandler
beforeEnter