This kind of FilterInputStream makes sure that the HTTP Method responsible for the given InputStream is releasing its connection after the stream has been closed. This class is also keeping two important headers to be used for the Conditional GET Mechanism of HTTP.
Passing an instance of IProgressMonitor
into the class allows for early cancelation by throwing an Exception from the various stream-methods as soon as the monitor is canceled.
|
|
|
|
|
|
|
|