Class NettyReactiveWebServerFactoryCustomizer
java.lang.Object
org.springframework.boot.reactor.netty.autoconfigure.NettyReactiveWebServerFactoryCustomizer
- All Implemented Interfaces:
org.springframework.boot.web.server.WebServerFactoryCustomizer<NettyReactiveWebServerFactory>, org.springframework.core.Ordered
public class NettyReactiveWebServerFactoryCustomizer
extends Object
implements org.springframework.boot.web.server.WebServerFactoryCustomizer<NettyReactiveWebServerFactory>, org.springframework.core.Ordered
Customization for Netty-specific features.
- Since:
- 4.0.0
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionNettyReactiveWebServerFactoryCustomizer(org.springframework.core.env.Environment environment, org.springframework.boot.web.server.autoconfigure.ServerProperties serverProperties, NettyServerProperties nettyProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(NettyReactiveWebServerFactory factory) intgetOrder()
-
Constructor Details
-
NettyReactiveWebServerFactoryCustomizer
public NettyReactiveWebServerFactoryCustomizer(org.springframework.core.env.Environment environment, org.springframework.boot.web.server.autoconfigure.ServerProperties serverProperties, NettyServerProperties nettyProperties)
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
customize
- Specified by:
customizein interfaceorg.springframework.boot.web.server.WebServerFactoryCustomizer<NettyReactiveWebServerFactory>
-