com.photoviewer.client.net
Interface HttpConnection.ProgressListenerI

Enclosing interface:
HttpConnection

public static interface HttpConnection.ProgressListenerI

Implement this interface and passed it to the getContentFromURL() method if you want to get progress callbacks during the retrieval of documents from an HTTP server.


Method Summary
 void progress(double completed)
          This callback method is called with a value indicating the progress of the HTTP GET operation.
 

Method Detail

progress

public void progress(double completed)
This callback method is called with a value indicating the progress of the HTTP GET operation.

Parameters:
completed - double from 0 to 1.0 indicating the progress level, where 0 = none, and 1.0 is complete.