Class TomcatVirtualThreadsWebServerFactoryCustomizer
java.lang.Object
org.springframework.boot.tomcat.autoconfigure.TomcatVirtualThreadsWebServerFactoryCustomizer
- All Implemented Interfaces:
WebServerFactoryCustomizer<ConfigurableTomcatWebServerFactory>, Ordered
public class TomcatVirtualThreadsWebServerFactoryCustomizer
extends Object
implements WebServerFactoryCustomizer<ConfigurableTomcatWebServerFactory>, Ordered
Activates
VirtualThreadExecutor on Tomcat's protocol
handler.- Since:
- 4.0.0
- Author:
- Moritz Halbritter
-
Field Summary
Fields inherited from interface Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TomcatVirtualThreadsWebServerFactoryCustomizer
public TomcatVirtualThreadsWebServerFactoryCustomizer()
-
-
Method Details
-
customize
Description copied from interface:WebServerFactoryCustomizerCustomize the specifiedWebServerFactory.- Specified by:
customizein interfaceWebServerFactoryCustomizer<ConfigurableTomcatWebServerFactory>- Parameters:
factory- the web server factory to customize
-
getOrder
-