NettyWebServer
constructor(httpServer: HttpServer, handlerAdapter: ReactorHttpHandlerAdapter, lifecycleTimeout: Duration, shutdown: Shutdown, resourceFactory: ReactorResourceFactory)
Creates a new NettyWebServer
instance.
Since
3.2.0
Parameters
httpServer
the HTTP server
handlerAdapter
the handler adapter
lifecycleTimeout
the lifecycle timeout, may be null
shutdown
the shutdown, may be null
resourceFactory
the factory for the server's loop resources, may be null