org.springframework.boot.web.reactive.server

Interface ReactiveWebServerFactory

    • Method Detail

      • 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).
        Parameters:
        httpHandler - the HTTP handler in charge of processing requests
        Returns:
        a fully configured and started WebServer
        See Also:
        WebServer.stop()

Copyright © 2019 Pivotal Software, Inc.. All rights reserved.