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 apply ServerProperties to reactive
servers.- Since:
- 2.0.0
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionReactiveWebServerFactoryCustomizer(ServerProperties serverProperties) Create a newReactiveWebServerFactoryCustomizerinstance.ReactiveWebServerFactoryCustomizer(ServerProperties serverProperties, org.springframework.boot.ssl.SslBundles sslBundles) Create a newReactiveWebServerFactoryCustomizerinstance. -
Method Summary
-
Constructor Details
-
ReactiveWebServerFactoryCustomizer
Create a newReactiveWebServerFactoryCustomizerinstance.- Parameters:
serverProperties- the server properties
-
ReactiveWebServerFactoryCustomizer
public ReactiveWebServerFactoryCustomizer(ServerProperties serverProperties, org.springframework.boot.ssl.SslBundles sslBundles) Create a newReactiveWebServerFactoryCustomizerinstance.- Parameters:
serverProperties- the server propertiessslBundles- the SSL bundles- Since:
- 3.1.0
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
customize
public void customize(org.springframework.boot.web.reactive.server.ConfigurableReactiveWebServerFactory factory) - Specified by:
customizein interfaceorg.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.reactive.server.ConfigurableReactiveWebServerFactory>
-