Package com.vaadin.hilla.route
Class RouteUnifyingIndexHtmlRequestListener
java.lang.Object
com.vaadin.hilla.route.RouteUnifyingIndexHtmlRequestListener
- All Implemented Interfaces:
com.vaadin.flow.server.communication.IndexHtmlRequestListener,Serializable,EventListener
public class RouteUnifyingIndexHtmlRequestListener
extends Object
implements com.vaadin.flow.server.communication.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(com.vaadin.flow.server.communication.IndexHtmlResponse response)
-
Field Details
-
SCRIPT_STRING
- See Also:
-
-
Constructor Details
-
RouteUnifyingIndexHtmlRequestListener
public RouteUnifyingIndexHtmlRequestListener(ServerAndClientViewsProvider serverAndClientViewsProvider)
-
-
Method Details
-
modifyIndexHtmlResponse
public void modifyIndexHtmlResponse(com.vaadin.flow.server.communication.IndexHtmlResponse response) - Specified by:
modifyIndexHtmlResponsein interfacecom.vaadin.flow.server.communication.IndexHtmlRequestListener
-