com.vaadin.flow.server.startup.
Package com.vaadin.flow.server.startup
Interface NavigationTargetFilter
All Superinterfaces:
A filter that can prevent specific navigation targets from being registered.
Listener instances are by discovered and instantiated using
ServiceLoader
. This means that all implementations must have a
zero-argument constructor and the fully qualified name of the implementation
class must be listed on a separate line in a
META-INF/services/com.vaadin.flow.server.startup.NavigationTargetFilter file
present in the jar file containing the implementation class.
Since:
1.0
Author:
Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionboolean
testErrorNavigationTarget
(Class<?> errorNavigationTarget) Tests whether the given error navigation target class should be included.
boolean
testNavigationTarget
(Class<? extends Component> navigationTarget) Tests whether the given navigation target class should be included.
-
Method Details