Class NettyWebServerFactoryCustomizer
- java.lang.Object
- org.springframework.boot.autoconfigure.web.embedded.NettyWebServerFactoryCustomizer
- All Implemented Interfaces:
org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.netty.NettyReactiveWebServerFactory>
,org.springframework.core.Ordered
public class NettyWebServerFactoryCustomizer extends Object implements org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.netty.NettyReactiveWebServerFactory>, org.springframework.core.Ordered
Customization for Netty-specific features.- Since:
- 2.1.0
Constructor Summary
Constructors Constructor Description NettyWebServerFactoryCustomizer(org.springframework.core.env.Environment environment, ServerProperties serverProperties)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customize(org.springframework.boot.web.embedded.netty.NettyReactiveWebServerFactory factory)
int
getOrder()
Constructor Detail
NettyWebServerFactoryCustomizer
public NettyWebServerFactoryCustomizer(org.springframework.core.env.Environment environment, ServerProperties serverProperties)
Method Detail
getOrder
public int getOrder()
- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
customize
public void customize(org.springframework.boot.web.embedded.netty.NettyReactiveWebServerFactory factory)
- Specified by:
customize
in interfaceorg.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.netty.NettyReactiveWebServerFactory>