类 UndertowServerFactoryCustomizer

java.lang.Object
top.tangyh.basic.boot.undertow.UndertowServerFactoryCustomizer
所有已实现的接口:
org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory>

public class UndertowServerFactoryCustomizer extends Object implements org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory>
设置Undertow服务器 XnioWorker Buffers

解决启动时警告:[io.undertow.websockets.jsr.handleDeployment:68] --> UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used

https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-programmatic-embedded-container-customization

作者:
zuihou
  • 构造器详细资料

    • UndertowServerFactoryCustomizer

      public UndertowServerFactoryCustomizer()
  • 方法详细资料

    • customize

      public void customize(org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory factory)
      指定者:
      customize 在接口中 org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory>