Package org.vrspace.server.config
Class ContentTomcatCustomizer
- java.lang.Object
-
- org.vrspace.server.config.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 Summary
Constructors Constructor Description ContentTomcatCustomizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customize(org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory factory)
-
-
-
Method Detail
-
customize
public void customize(org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory factory)
- Specified by:
customize
in interfaceorg.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory>
-
-