Class JettyWebServerFactoryCustomizer
java.lang.Object
org.springframework.boot.autoconfigure.web.embedded.JettyWebServerFactoryCustomizer
- All Implemented Interfaces:
WebServerFactoryCustomizer<ConfigurableJettyWebServerFactory>
,Ordered
public class JettyWebServerFactoryCustomizer
extends Object
implements WebServerFactoryCustomizer<ConfigurableJettyWebServerFactory>, Ordered
Customization for Jetty-specific features common for both Servlet and Reactive servers.
- Since:
- 2.0.0
- Author:
- Brian Clozel, Phillip Webb, HaiTao Zhang, Rafiullah Hamedy
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionJettyWebServerFactoryCustomizer
(Environment environment, ServerProperties serverProperties) -
Method Summary
-
Constructor Details
-
JettyWebServerFactoryCustomizer
-
-
Method Details
-
getOrder
public int getOrder() -
customize
Description copied from interface:WebServerFactoryCustomizer
Customize the specifiedWebServerFactory
.- Specified by:
customize
in interfaceWebServerFactoryCustomizer<ConfigurableJettyWebServerFactory>
- Parameters:
factory
- the web server factory to customize
-