Package com.vaadin.flow.server
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
includeInitialUidl(VaadinRequest request)
Return whether the bootstrap handler has to include initial UIDL in the response.
-
-
-
Method Detail
-
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
-
-