You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.server.

Interface BootstrapUrlPredicate

  • All Superinterfaces:

    EventListener, Serializable

    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 BootstrapUrlPredicate
    extends EventListener, Serializable

    The callback used by bootstrap handlers in order to know when a request is a valid URL to render the page.

    Since:

    3.0

    • Method Summary

      All Methods
      Modifier and Type Method Description
      boolean isValidUrl​(VaadinRequest request)

      Return whether the bootstrap handler should render the page.

    • Method Detail

      • isValidUrl

        boolean isValidUrl​(VaadinRequest request)

        Return whether the bootstrap handler should render the page.

        Parameters:

        request - Vaadin request.

        Returns:

        true if the page should be rendered.