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

    Modifier and Type
    Method
    Description
    boolean
    Return whether the bootstrap handler should render the page.
  • Method Details

    • 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.