Package com.vaadin.hilla.route
Class RouteUnifyingIndexHtmlRequestListener
java.lang.Object
com.vaadin.hilla.route.RouteUnifyingIndexHtmlRequestListener
- All Implemented Interfaces:
IndexHtmlRequestListener,Serializable,EventListener
public class RouteUnifyingIndexHtmlRequestListener
extends Object
implements IndexHtmlRequestListener
Index HTML request listener for collecting the client side and the server
side views and adding them to index.html response.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRouteUnifyingIndexHtmlRequestListener(ServerAndClientViewsProvider serverAndClientViewsProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidmodifyIndexHtmlResponse(IndexHtmlResponse response) The method allows to modify the Index HTML response before it is sent to browser.
-
Field Details
-
SCRIPT_STRING
- See Also:
-
-
Constructor Details
-
RouteUnifyingIndexHtmlRequestListener
public RouteUnifyingIndexHtmlRequestListener(ServerAndClientViewsProvider serverAndClientViewsProvider)
-
-
Method Details
-
modifyIndexHtmlResponse
Description copied from interface:IndexHtmlRequestListenerThe method allows to modify the Index HTML response before it is sent to browser.- Specified by:
modifyIndexHtmlResponsein interfaceIndexHtmlRequestListener- Parameters:
response- the response object which includes theVaadinRequest,VaadinResponse, andDocument
-