Class JettyWebServerFactoryCustomizer
java.lang.Object
org.springframework.boot.autoconfigure.web.embedded.JettyWebServerFactoryCustomizer
- All Implemented Interfaces:
org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.jetty.ConfigurableJettyWebServerFactory>
,org.springframework.core.Ordered
public class JettyWebServerFactoryCustomizer
extends Object
implements org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.jetty.ConfigurableJettyWebServerFactory>, org.springframework.core.Ordered
Customization for Jetty-specific features common for both Servlet and Reactive servers.
- Since:
- 2.0.0
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionJettyWebServerFactoryCustomizer
(org.springframework.core.env.Environment environment, ServerProperties serverProperties) -
Method Summary
-
Constructor Details
-
JettyWebServerFactoryCustomizer
public JettyWebServerFactoryCustomizer(org.springframework.core.env.Environment environment, ServerProperties serverProperties)
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
customize
public void customize(org.springframework.boot.web.embedded.jetty.ConfigurableJettyWebServerFactory factory) - Specified by:
customize
in interfaceorg.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.jetty.ConfigurableJettyWebServerFactory>
-