Returns a Server resource.
Returns a Server resource. The resource is not acquired until the server is started and ready to accept requests.
Set the banner to display when the server starts up
Sets the handler for errors thrown invoking the service.
Sets the handler for errors thrown invoking the service. Is not guaranteed to be invoked on errors on the server backend, such as parsing a request or handling a context timeout.
Runs the server as a process that never emits.
Runs the server as a process that never emits. Useful for a server that runs for the rest of the JVM's life.
Runs the server as a Stream that emits only when the terminated signal becomes true.
Runs the server as a Stream that emits only when the terminated signal becomes true. Useful for servers with associated lifetime behaviors.
Disable the banner when the server starts up