Class JettyVirtualThreadsWebServerFactoryCustomizer

java.lang.Object
org.springframework.boot.jetty.autoconfigure.JettyVirtualThreadsWebServerFactoryCustomizer
All Implemented Interfaces:
org.springframework.boot.web.server.WebServerFactoryCustomizer<ConfigurableJettyWebServerFactory>, org.springframework.core.Ordered

public class JettyVirtualThreadsWebServerFactoryCustomizer extends Object implements org.springframework.boot.web.server.WebServerFactoryCustomizer<ConfigurableJettyWebServerFactory>, org.springframework.core.Ordered
Activates virtual threads on the ConfigurableJettyWebServerFactory.
Since:
4.0.0
  • Constructor Details

    • JettyVirtualThreadsWebServerFactoryCustomizer

      @Deprecated(since="4.0.3", forRemoval=true) public JettyVirtualThreadsWebServerFactoryCustomizer()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a new JettyVirtualThreadsWebServerFactoryCustomizer.
    • JettyVirtualThreadsWebServerFactoryCustomizer

      public JettyVirtualThreadsWebServerFactoryCustomizer(JettyServerProperties serverProperties)
      Create a new JettyVirtualThreadsWebServerFactoryCustomizer.
      Parameters:
      serverProperties - the server properties
  • Method Details