Interface IndexHtmlRequestListener
- 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.
This event listener is notified when the Single Page Application's HTML page
is about to be generated and sent to the client. The Index HTML response is
first constructed as an in-memory DOM representation which registered
listeners can modify before the final HTML is generated.
Index HTML request listeners are registered using the
ServiceInitEvent
during the initialization of the application.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
modifyIndexHtmlResponse
(IndexHtmlResponse indexHtmlResponse) The method allows to modify the Index HTML response before it is sent to browser.
-
Method Details
-
modifyIndexHtmlResponse
The method allows to modify the Index HTML response before it is sent to browser.- Parameters:
indexHtmlResponse
- the response object which includes theVaadinRequest
,VaadinResponse
, andDocument
-