Class NettyWebServerFactoryCustomizer
java.lang.Object
org.springframework.boot.autoconfigure.web.embedded.NettyWebServerFactoryCustomizer
- All Implemented Interfaces:
WebServerFactoryCustomizer<NettyReactiveWebServerFactory>
,Ordered
public class NettyWebServerFactoryCustomizer
extends Object
implements WebServerFactoryCustomizer<NettyReactiveWebServerFactory>, Ordered
Customization for Netty-specific features.
- Since:
- 2.1.0
- Author:
- Brian Clozel, Chentao Qu, Artsiom Yudovin
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionNettyWebServerFactoryCustomizer
(Environment environment, ServerProperties serverProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoid
customize
(NettyReactiveWebServerFactory factory) Customize the specifiedWebServerFactory
.int
getOrder()
-
Constructor Details
-
NettyWebServerFactoryCustomizer
-
-
Method Details
-
getOrder
public int getOrder() -
customize
Description copied from interface:WebServerFactoryCustomizer
Customize the specifiedWebServerFactory
.- Specified by:
customize
in interfaceWebServerFactoryCustomizer<NettyReactiveWebServerFactory>
- Parameters:
factory
- the web server factory to customize
-