|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.jscape.inet.http.HttpProgressEvent
public class HttpProgressEvent
Fired on significant progress in upload and download operations in Http class.
Field Summary | |
---|---|
static int |
MODE_DOWNLOAD
Download mode |
static int |
MODE_UPLOAD
Upload mode |
Constructor Summary | |
---|---|
HttpProgressEvent(java.lang.Object source,
java.lang.String url,
long bytes,
int mode)
Constructs a new HttpProgressEvent . |
Method Summary | |
---|---|
long |
getBytes()
Get the number of bytes transferred so far. |
int |
getMode()
Gets transfer mode of event. |
java.lang.String |
getURL()
Gets the String representation of the URL this event is associated with. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int MODE_DOWNLOAD
public static final int MODE_UPLOAD
Constructor Detail |
---|
public HttpProgressEvent(java.lang.Object source, java.lang.String url, long bytes, int mode)
HttpProgressEvent
.
source
- the source of this eventurl
- String representation of the URL
associated with this eventbytes
- The number of bytes transferred so far.mode
- the transfer modeMODE_UPLOAD
,
MODE_DOWNLOAD
Method Detail |
---|
public java.lang.String getURL()
URL
public long getBytes()
public int getMode()
MODE_UPLOAD
,
MODE_DOWNLOAD
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |