Class UndertowWebServerFactoryCustomizer
- java.lang.Object
- org.springframework.boot.autoconfigure.web.embedded.UndertowWebServerFactoryCustomizer
- All Implemented Interfaces:
org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.undertow.ConfigurableUndertowWebServerFactory>
,org.springframework.core.Ordered
public class UndertowWebServerFactoryCustomizer extends Object implements org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.undertow.ConfigurableUndertowWebServerFactory>, org.springframework.core.Ordered
Customization for Undertow-specific features common for both Servlet and Reactive servers.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description UndertowWebServerFactoryCustomizer(org.springframework.core.env.Environment environment, ServerProperties serverProperties)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customize(org.springframework.boot.web.embedded.undertow.ConfigurableUndertowWebServerFactory factory)
int
getOrder()
Constructor Detail
UndertowWebServerFactoryCustomizer
public UndertowWebServerFactoryCustomizer(org.springframework.core.env.Environment environment, ServerProperties serverProperties)
Method Detail
getOrder
public int getOrder()
- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
customize
public void customize(org.springframework.boot.web.embedded.undertow.ConfigurableUndertowWebServerFactory factory)
- Specified by:
customize
in interfaceorg.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.undertow.ConfigurableUndertowWebServerFactory>