Class ContentTomcatCustomizer

  • All Implemented Interfaces:
    org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory>

    @Component
    public class ContentTomcatCustomizer
    extends Object
    implements org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory>
    Adds content and client (babylon) directories to content path, and enables directory listings. TODO: paths should be configurable
    Author:
    joe
    • Constructor Detail

      • ContentTomcatCustomizer

        public ContentTomcatCustomizer()
    • Method Detail

      • customize

        public void customize​(org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory factory)
        Specified by:
        customize in interface org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory>