...
The ContextHandler.setShutdown(boolean) method is exposed on via an MBean and can be called from a management agent.
Graceful connector shutdown
The Connector.close() method can be called to close the server socket on which a connector is listening. This will prevent new connections from being accepted and inform most load balancers that the server is no longer part of a cluster. Existing client connections can continue to run until they timeout or stop() is called on the connector.
...