接口 ReactiveWebServerFactory
- 所有超级接口:
WebServerFactory
- 所有已知子接口:
ConfigurableReactiveWebServerFactory
- 所有已知实现类:
AbstractReactiveWebServerFactory
,JettyReactiveWebServerFactory
,NettyReactiveWebServerFactory
,TomcatReactiveWebServerFactory
,UndertowReactiveWebServerFactory
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Factory interface that can be used to create a reactive
WebServer
.- 从以下版本开始:
- 2.0.0
- 作者:
- Brian Clozel
- 另请参阅:
-
方法概要
修饰符和类型方法说明getWebServer
(HttpHandler httpHandler) Gets a new fully configured but pausedWebServer
instance.
-
方法详细资料
-
getWebServer
Gets a new fully configured but pausedWebServer
instance. Clients should not be able to connect to the returned server untilWebServer.start()
is called (which happens when theApplicationContext
has been fully refreshed).- 参数:
httpHandler
- the HTTP handler in charge of processing requests- 返回:
- a fully configured and started
WebServer
- 另请参阅:
-