Interface BootstrapInitialPredicate

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 BootstrapInitialPredicate extends EventListener, Serializable
The callback used by bootstrap handlers in order to know when a request needs to pre-render the UI and include the initial UIDL in the page.
Since:
3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Return whether the bootstrap handler has to include initial UIDL in the response.
  • Method Details

    • includeInitialUidl

      boolean includeInitialUidl(VaadinRequest request)
      Return whether the bootstrap handler has to include initial UIDL in the response.
      Parameters:
      request - Vaadin request.
      Returns:
      true if initial should be included