Class ServletWebServerFactoryCustomizer
java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryCustomizer
- All Implemented Interfaces:
- WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>,- Ordered
public class ServletWebServerFactoryCustomizer
extends Object
implements WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>, Ordered
WebServerFactoryCustomizer to apply ServerProperties and
 WebListenerRegistrars to servlet web servers.- Since:
- 2.0.0
- Author:
- Brian Clozel, Stephane Nicoll, Olivier Lamy, Yunkun Huang
- 
Field SummaryFields inherited from interface org.springframework.core.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructorsConstructorDescriptionServletWebServerFactoryCustomizer(ServerProperties serverProperties) ServletWebServerFactoryCustomizer(ServerProperties serverProperties, List<WebListenerRegistrar> webListenerRegistrars) 
- 
Method Summary
- 
Constructor Details- 
ServletWebServerFactoryCustomizer
- 
ServletWebServerFactoryCustomizerpublic ServletWebServerFactoryCustomizer(ServerProperties serverProperties, List<WebListenerRegistrar> webListenerRegistrars) 
 
- 
- 
Method Details- 
getOrderpublic int getOrder()
- 
customizeDescription copied from interface:WebServerFactoryCustomizerCustomize the specifiedWebServerFactory.- Specified by:
- customizein interface- WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>
- Parameters:
- factory- the web server factory to customize
 
 
-