Class ReactiveWebServerFactoryCustomizer
java.lang.Object
org.springframework.boot.web.server.autoconfigure.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:
- 4.0.0
- Author:
- Brian Clozel, Yunkun Huang, Scott Frederick
-
Field Summary
Fields inherited from interface Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionReactiveWebServerFactoryCustomizer(ServerProperties serverProperties) Deprecated, for removal: This API element is subject to removal in a future version.ReactiveWebServerFactoryCustomizer(ServerProperties serverProperties, @Nullable SslBundles sslBundles) Deprecated, for removal: This API element is subject to removal in a future version.since 4.2.0 for removal in 4.4.0 in favor ofReactiveWebServerFactoryCustomizer(Environment, ServerProperties, SslBundles)ReactiveWebServerFactoryCustomizer(Environment environment, ServerProperties serverProperties, @Nullable SslBundles sslBundles) Create a newReactiveWebServerFactoryCustomizerinstance. -
Method Summary
-
Constructor Details
-
ReactiveWebServerFactoryCustomizer
@Deprecated(since="4.2.0", forRemoval=true) public ReactiveWebServerFactoryCustomizer(ServerProperties serverProperties) Deprecated, for removal: This API element is subject to removal in a future version.since 4.2.0 for removal in 4.4.0 in favor ofReactiveWebServerFactoryCustomizer(Environment, ServerProperties, SslBundles)Create a newReactiveWebServerFactoryCustomizerinstance.- Parameters:
serverProperties- the server properties
-
ReactiveWebServerFactoryCustomizer
@Deprecated(since="4.2.0", forRemoval=true) public ReactiveWebServerFactoryCustomizer(ServerProperties serverProperties, @Nullable SslBundles sslBundles) Deprecated, for removal: This API element is subject to removal in a future version.since 4.2.0 for removal in 4.4.0 in favor ofReactiveWebServerFactoryCustomizer(Environment, ServerProperties, SslBundles)Create a newReactiveWebServerFactoryCustomizerinstance.- Parameters:
serverProperties- the server propertiessslBundles- the SSL bundles
-
ReactiveWebServerFactoryCustomizer
public ReactiveWebServerFactoryCustomizer(Environment environment, ServerProperties serverProperties, @Nullable SslBundles sslBundles) Create a newReactiveWebServerFactoryCustomizerinstance.- Parameters:
environment- the environmentserverProperties- the server propertiessslBundles- the SSL bundles- Since:
- 4.2.0
-
-
Method Details
-
getOrder
-
customize
Description copied from interface:WebServerFactoryCustomizerCustomize the specifiedWebServerFactory.- Specified by:
customizein interfaceWebServerFactoryCustomizer<ConfigurableReactiveWebServerFactory>- Parameters:
factory- the web server factory to customize
-
ReactiveWebServerFactoryCustomizer(Environment, ServerProperties, SslBundles)