接口 ReactiveWebServerFactory

    • 方法详细资料

      • getWebServer

        WebServer getWebServer​(org.springframework.http.server.reactive.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
        另请参阅:
        WebServer.stop()