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
constructor(httpServer: HttpServer, handlerAdapter: ReactorHttpHandlerAdapter, lifecycleTimeout: Duration, shutdown: Shutdown)
Deprecated (for removal)
Since version 3.2.0
Creates a new NettyWebServer
instance.
Deprecated
since 3.2.0 for removal in 3.4.0 in favor of NettyWebServer
Parameters
httpServer
the HTTP server
handlerAdapter
the handler adapter
lifecycleTimeout
the lifecycle timeout, may be null
shutdown
the shutdown, may be null