Class ReactiveWebServerFactoryCustomizer
- java.lang.Object
- org.springframework.boot.autoconfigure.web.reactive.ReactiveWebServerFactoryCustomizer
- All Implemented Interfaces:
org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.reactive.server.ConfigurableReactiveWebServerFactory>
,org.springframework.core.Ordered
public class ReactiveWebServerFactoryCustomizer extends Object implements org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.reactive.server.ConfigurableReactiveWebServerFactory>, org.springframework.core.Ordered
WebServerFactoryCustomizer
to applyServerProperties
to reactive servers.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description ReactiveWebServerFactoryCustomizer(ServerProperties serverProperties)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customize(org.springframework.boot.web.reactive.server.ConfigurableReactiveWebServerFactory factory)
int
getOrder()
Constructor Detail
ReactiveWebServerFactoryCustomizer
public ReactiveWebServerFactoryCustomizer(ServerProperties serverProperties)
Method Detail
getOrder
public int getOrder()
- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
customize
public void customize(org.springframework.boot.web.reactive.server.ConfigurableReactiveWebServerFactory factory)
- Specified by:
customize
in interfaceorg.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.reactive.server.ConfigurableReactiveWebServerFactory>