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