public class ServletWebServerFactoryCustomizer
extends java.lang.Object
implements org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory>, org.springframework.core.Ordered
WebServerFactoryCustomizer to apply ServerProperties and
WebListenerRegistrars to servlet web servers.| Constructor and Description |
|---|
ServletWebServerFactoryCustomizer(ServerProperties serverProperties) |
ServletWebServerFactoryCustomizer(ServerProperties serverProperties,
java.util.List<org.springframework.boot.web.servlet.WebListenerRegistrar> webListenerRegistrars) |
| Modifier and Type | Method and Description |
|---|---|
void |
customize(org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory factory) |
int |
getOrder() |
public ServletWebServerFactoryCustomizer(ServerProperties serverProperties)
public ServletWebServerFactoryCustomizer(ServerProperties serverProperties, java.util.List<org.springframework.boot.web.servlet.WebListenerRegistrar> webListenerRegistrars)
public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void customize(org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory factory)
customize in interface org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory>