|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.base.action.multipart.UploadListener
public class UploadListener
This class implements the OutputStreamListener interface and updates an UploadInfo
object in the session (using the attribute key 'uploadInfo') with the current state of the upload.
Constructor Summary | |
---|---|
UploadListener(javax.servlet.http.HttpServletRequest request)
|
Method Summary | |
---|---|
void |
bytesRead(int bytesRead)
Called when bytes are read from the output stream. |
void |
done()
Called when reading from the output stream is completed. |
void |
error(java.lang.String message)
Called if there was an error reading from the output stream. |
void |
reset()
|
void |
start()
Called when reading from the output stream is started. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UploadListener(javax.servlet.http.HttpServletRequest request)
Method Detail |
---|
public void start()
OutputStreamListener
start
in interface OutputStreamListener
public void bytesRead(int bytesRead)
OutputStreamListener
bytesRead
in interface OutputStreamListener
bytesRead
- the number of bytes read from the stream.public void error(java.lang.String message)
OutputStreamListener
error
in interface OutputStreamListener
message
- the error message.public void done()
OutputStreamListener
done
in interface OutputStreamListener
public void reset()
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |