|
|
@ -3151,6 +3151,8 @@ The exact way in which new requests are not permitted varies depending on the we
|
|
|
|
Jetty, Reactor Netty, and Tomcat will stop accepting requests at the network layer.
|
|
|
|
Jetty, Reactor Netty, and Tomcat will stop accepting requests at the network layer.
|
|
|
|
Undertow will accept requests but respond immediately with a service unavailable (503) response.
|
|
|
|
Undertow will accept requests but respond immediately with a service unavailable (503) response.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NOTE: Graceful shutdown with Tomcat requires Tomcat 9.0.33 or later.
|
|
|
|
|
|
|
|
|
|
|
|
Graceful shutdown occurs as one of the first steps during application close processing and before any beans have been destroyed.
|
|
|
|
Graceful shutdown occurs as one of the first steps during application close processing and before any beans have been destroyed.
|
|
|
|
This ensures that the beans are available for use by any processing that occurs while in-flight requests are being allowed to complete.
|
|
|
|
This ensures that the beans are available for use by any processing that occurs while in-flight requests are being allowed to complete.
|
|
|
|
To enable graceful shutdown, configure the configprop:server.shutdown.grace-period[] property, as shown in the following example:
|
|
|
|
To enable graceful shutdown, configure the configprop:server.shutdown.grace-period[] property, as shown in the following example:
|
|
|
|