Class JettyVirtualThreadsWebServerFactoryCustomizer
java.lang.Object
org.springframework.boot.autoconfigure.web.embedded.JettyVirtualThreadsWebServerFactoryCustomizer
- All Implemented Interfaces:
WebServerFactoryCustomizer<ConfigurableJettyWebServerFactory>
,Ordered
public class JettyVirtualThreadsWebServerFactoryCustomizer
extends Object
implements WebServerFactoryCustomizer<ConfigurableJettyWebServerFactory>, Ordered
Activates virtual threads on the
ConfigurableJettyWebServerFactory
.- Since:
- 3.2.0
- Author:
- Moritz Halbritter
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionJettyVirtualThreadsWebServerFactoryCustomizer
(ServerProperties serverProperties) -
Method Summary
-
Constructor Details
-
JettyVirtualThreadsWebServerFactoryCustomizer
-
-
Method Details
-
customize
Description copied from interface:WebServerFactoryCustomizer
Customize the specifiedWebServerFactory
.- Specified by:
customize
in interfaceWebServerFactoryCustomizer<ConfigurableJettyWebServerFactory>
- Parameters:
factory
- the web server factory to customize
-
getOrder
public int getOrder()
-