public interface BootstrapListener extends EventListener, Serializable
Modifier and Type | Method and Description |
---|---|
void |
modifyBootstrapFragment(BootstrapFragmentResponse response)
Lets this listener make changes to the fragment that makes up the actual
Vaadin application.
|
void |
modifyBootstrapPage(BootstrapPageResponse response)
Lets this listener make changes to the overall HTML document that will be
used as the initial HTML page in a typical Servlet deployment as well as
the HTTP headers in the response serving the initial HTML.
|
void modifyBootstrapFragment(BootstrapFragmentResponse response)
RenderResponse
.response
- the bootstrap response that can modified to cause changes in
the generated HTML.void modifyBootstrapPage(BootstrapPageResponse response)
If a full page is being generated, this method is invoked after
modifyBootstrapFragment(BootstrapFragmentResponse)
has been
invoked for all registered listeners.
response
- the bootstrap response that can be modified to cause change in
the generate HTML and in the HTTP headers of the response.Copyright © 2016 Vaadin Ltd. All rights reserved.