skip to Main Content

Vaadin modify IndexHtmlResponse to set meta tags – SEO

In order to improve SEO of my Vaadin application I'd like to set up custom meta tags. For this purpose I'd like to use IndexHtmlRequestListener: serviceInitEvent.addIndexHtmlRequestListener(new IndexHtmlRequestListener() { @Override public void modifyIndexHtmlResponse(IndexHtmlResponse indexHtmlResponse) { Optional<UI> optionalUI = indexHtmlResponse.getUI(); if (optionalUI.isPresent())…

VIEW QUESTION
Back To Top
Search