接口 ReactiveWebServerFactory

所有超级接口:
WebServerFactory
所有已知子接口:
ConfigurableReactiveWebServerFactory
所有已知实现类:
AbstractReactiveWebServerFactory, JettyReactiveWebServerFactory, NettyReactiveWebServerFactory, TomcatReactiveWebServerFactory, UndertowReactiveWebServerFactory
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface ReactiveWebServerFactory extends WebServerFactory
Factory interface that can be used to create a reactive WebServer.
从以下版本开始:
2.0.0
作者:
Brian Clozel
另请参阅:
  • 方法详细资料

    • getWebServer

      WebServer getWebServer(HttpHandler httpHandler)
      Gets a new fully configured but paused WebServer instance. Clients should not be able to connect to the returned server until WebServer.start() is called (which happens when the ApplicationContext has been fully refreshed).
      参数:
      httpHandler - the HTTP handler in charge of processing requests
      返回:
      a fully configured and started WebServer
      另请参阅: