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