    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface w3c.www.protocol.http.RequestObserver

public interface RequestObserver
extends Object

The interface to be implemented by request observers. Request observers are objects that will be notified of the progress made in processing an asynchronous request. Asynchronous requests are launched by a call to the `runRequest` method of the `Httpmanager` class.

While being processed, a request goes through a number of different status, described below. Each time the status of a request changes, the appropriate observer gets called back.

##

notifyProgress(RequestEvent)
  Call back, invoked by the HttpManager callback thread.

##

notifyProgress

      public abstract void notifyProgress(RequestEvent event)

  Call back, invoked by the HttpManager callback thread. Each time a request status changes (due to progress in its processing) this callback gets called, with the new status as an argument.
  Parameters:
    preq - The pending request that has made some progress.
    event - The event to broadcast.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index