the server options such as the number of IO thread used.
the underlying server socket.
the SSL configuration if enabled.
Stop this server instance gracefully.
Stop this server instance gracefully. It ensures that no requests are handled for 'the quiet period' (usually a couple seconds) before it shuts itself down. If a request is submitted during the quiet period, it is guaranteed to be accepted and the quiet period will start over.
The quiet period for the graceful shutdown.
The maximum amount of time to wait until the server is shutdown regardless of the quiet period.
a Future resolved as soon as the server is shutdown.
the TCP port from the underlying server socket.
An HTTP server.
An HTTP server is a service function. It handles HTTP requests and eventually returns HTTP responses.
The server listen for HTTP connections on the socketAddress TCP socket. If ssl is defined, it supports TLS connections. Calling the stop operation asks for a graceful shutdown.