org.directwebremoting.event
Class SessionProgressListener
java.lang.Object
org.directwebremoting.event.SessionProgressListener
- All Implemented Interfaces:
- org.apache.commons.fileupload.ProgressListener
public class SessionProgressListener
- extends java.lang.Object
- implements org.apache.commons.fileupload.ProgressListener
Progress listener that stores results in the user session.
- Author:
- Jose Noheda
|
Field Summary |
static java.lang.String |
CANCEL_UPLOAD
The attribute that indicates if the user wants to cancel the upload. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CANCEL_UPLOAD
public static final java.lang.String CANCEL_UPLOAD
- The attribute that indicates if the user wants to cancel the upload.
- See Also:
- Constant Field Values
SessionProgressListener
public SessionProgressListener(javax.servlet.http.HttpSession session)
getBytesRead
public long getBytesRead()
getContentLength
public long getContentLength()
getItem
public long getItem()
update
public void update(long newBytesRead,
long newContentLength,
int items)
- Specified by:
update in interface org.apache.commons.fileupload.ProgressListener