A number of events can indicate that the servlet has provided all of the content to satisfy the request and that the response object can be considered to be closed. The events are:
When a response is closed, all content in the response buffer, if any remains, must be immediately flushed to the client. |