com.vaadin.flow.router.internal.

Interface BeforeEnterHandler

All Superinterfaces:

Serializable

All Known Subinterfaces:

BeforeEnterListener, BeforeEnterObserver

All Known Implementing Classes:

NavigationAccessControl, SpringNavigationAccessControl, 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.

@FunctionalInterface public interface BeforeEnterHandler extends Serializable

The base interface for every BeforeEnterEvent handler.

For internal use only. May be renamed or removed in a future release.

Since:

1.0

  • Method Summary

    Modifier and Type
    Method
    Description
    void

    Callback executed before navigation to attaching Component chain is made.

  • Method Details

    • beforeEnter

      void beforeEnter(BeforeEnterEvent event)

      Callback executed before navigation to attaching Component chain is made.

      Parameters:

      event - before navigation event with event details