org.apache.commons.httpclient
Interface ResponseConsumedWatcher
- interface ResponseConsumedWatcher
When a response stream has been consumed, various parts of the HttpClient
implementation need to respond appropriately.
When one of the three types of InputStream, one of
AutoCloseInputStream (package), ContentLengthInputStream, or
ChunkedInputStream finishes with its content, either because
all content has been consumed, or because it was explicitly closed,
it notifies its corresponding method via this interface.
- Author:
- Eric Johnson
- See Also:
ContentLengthInputStream,
ChunkedInputStream
responseConsumed
public void responseConsumed()
- A response has been consumed.
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.