Class ReactiveWebServerFactoryCustomizer
java.lang.Object
org.springframework.boot.autoconfigure.web.reactive.ReactiveWebServerFactoryCustomizer
- All Implemented Interfaces:
WebServerFactoryCustomizer<ConfigurableReactiveWebServerFactory>
,Ordered
public class ReactiveWebServerFactoryCustomizer
extends Object
implements WebServerFactoryCustomizer<ConfigurableReactiveWebServerFactory>, Ordered
WebServerFactoryCustomizer
to apply ServerProperties
to reactive
servers.- Since:
- 2.0.0
- Author:
- Brian Clozel, Yunkun Huang, Scott Frederick
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionReactiveWebServerFactoryCustomizer
(ServerProperties serverProperties) Create a newReactiveWebServerFactoryCustomizer
instance.ReactiveWebServerFactoryCustomizer
(ServerProperties serverProperties, SslBundles sslBundles) Create a newReactiveWebServerFactoryCustomizer
instance. -
Method Summary
-
Constructor Details
-
ReactiveWebServerFactoryCustomizer
Create a newReactiveWebServerFactoryCustomizer
instance.- Parameters:
serverProperties
- the server properties
-
ReactiveWebServerFactoryCustomizer
Create a newReactiveWebServerFactoryCustomizer
instance.- Parameters:
serverProperties
- the server propertiessslBundles
- the SSL bundles- Since:
- 3.1.0
-
-
Method Details
-
getOrder
public int getOrder() -
customize
Description copied from interface:WebServerFactoryCustomizer
Customize the specifiedWebServerFactory
.- Specified by:
customize
in interfaceWebServerFactoryCustomizer<ConfigurableReactiveWebServerFactory>
- Parameters:
factory
- the web server factory to customize
-