public class DefaultServletWebServerFactoryCustomizer extends Object implements WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>, EnvironmentAware, Ordered
WebServerFactoryCustomizer
for ServerProperties
.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
DefaultServletWebServerFactoryCustomizer(ServerProperties serverProperties) |
Modifier and Type | Method and Description |
---|---|
void |
customize(ConfigurableServletWebServerFactory factory)
Customize the specified
WebServerFactory . |
int |
getOrder() |
void |
setEnvironment(Environment environment) |
void |
setLoader(String value) |
public DefaultServletWebServerFactoryCustomizer(ServerProperties serverProperties)
public void setLoader(String value)
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
public void customize(ConfigurableServletWebServerFactory factory)
WebServerFactoryCustomizer
WebServerFactory
.customize
in interface WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>
factory
- the server to customizeCopyright © 2017 Pivotal Software, Inc.. All rights reserved.