This method may be invoked at any stage of the processing of the request.
After this method has been invoked, I/O operations on the streams returned by the getRequestInputStream and getResponseOutputStream methods will fail with an IOException, except some operations that may succeed because they only affect data in local I/O buffers.
If this method is invoked before the close method has been invoked on the stream returned by getResponseOutputStream, there is no guarantee that any or none of the data written to the stream so far will be delivered; the implication of such an invocation of this method is that the user is no longer interested in the successful delivery of the response.
| |