|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BootstrapListener
Event listener notified when the bootstrap HTML is about to be generated and send to the client. The bootstrap HTML is first constructed as an in-memory DOM representation which registered listeners can modify before the final HTML is generated.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||