|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.event.SessionProgressListener
public class SessionProgressListener
Progress listener that stores results in the user session.
| Field Summary | |
|---|---|
static java.lang.String |
CANCEL_UPLOAD
The attribute that indicates if the user wants to cancel the upload. |
| Constructor Summary | |
|---|---|
SessionProgressListener(javax.servlet.http.HttpSession session)
|
|
| Method Summary | |
|---|---|
long |
getBytesRead()
Accessor for the number of bytes read, as passed in by ProgressListener.update(long, long, int) |
long |
getContentLength()
The total number of bytes, which are being read. |
long |
getItem()
The number of the field, which is currently being read. |
void |
update(long newBytesRead,
long newContentLength,
int items)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CANCEL_UPLOAD
| Constructor Detail |
|---|
public SessionProgressListener(javax.servlet.http.HttpSession session)
| Method Detail |
|---|
public long getBytesRead()
ProgressListener.update(long, long, int)
public long getContentLength()
ProgressListener.update(long, long, int)
public long getItem()
public void update(long newBytesRead,
long newContentLength,
int items)
update in interface org.apache.commons.fileupload.ProgressListener
|
Copyright ¨ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||