    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface w3c.www.http.HttpStreamObserver

public interface HttpStreamObserver

##

notifyClose(InputStream)
  The stream has been closed.
notifyEOF(InputStream)
  The end of the stream has been reached.
notifyFailure(InputStream)
  The stream doesn't support monitoring.

##

notifyEOF

     public abstract void notifyEOF(InputStream in)

  The end of the stream has been reached.

  Parameters:
    in - The stream that has reached enf od file.

notifyClose

     public abstract void notifyClose(InputStream in)

  The stream has been closed.

  Parameters:
    in - The stream that has been closed.

notifyFailure

     public abstract void notifyFailure(InputStream in)

  The stream doesn't support monitoring. This happens for HTTP connections that don't provide any infos about their length.

  Parameters:
    in - The stream on which an IO exception occured.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index