How to enable HSTS (HTTP Strict Transport Security) in Vaadin + Tomcat8

How to enable HSTS (HTTP Strict Transport Security) in Vaadin + Tomcat8?