public class ServletWebServerFactoryCustomizer extends Object implements WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>, Ordered
WebServerFactoryCustomizer
to apply ServerProperties
to servlet web
servers.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ServletWebServerFactoryCustomizer(ServerProperties serverProperties) |
Modifier and Type | Method and Description |
---|---|
void |
customize(ConfigurableServletWebServerFactory factory)
Customize the specified
WebServerFactory . |
int |
getOrder() |
public ServletWebServerFactoryCustomizer(ServerProperties serverProperties)
public void customize(ConfigurableServletWebServerFactory factory)
WebServerFactoryCustomizer
WebServerFactory
.customize
in interface WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>
factory
- the web server factory to customize