|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.Controller
org.torweg.pulse.component.core.UploadProgressCheck
public class UploadProgressCheck
allows to access the progress of form based file uploads.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller |
|---|
Controller.AlwaysRun |
| Constructor Summary | |
|---|---|
UploadProgressCheck()
|
|
| Method Summary | |
|---|---|
void |
getProgress(ServiceRequest request)
returns the state of the requested UploadProgressCheck as a
JSON result. |
| Methods inherited from class org.torweg.pulse.bundle.Controller |
|---|
getAlwaysRun, isAlwaysRun, setAlwaysRun |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UploadProgressCheck()
| Method Detail |
|---|
@Action(value="getUploadProgress", generate=true, stripSitemapID=true) @Permission(value="uploadProgress") public void getProgress(ServiceRequest request)
UploadProgressCheck as a
JSON result.
The id of the requested UploadProgressCheck is given by the
request parameter id.
{"progress":55,"stale":false} would represent a
UploadProgress at 55% which is not yet
stale.
request - the current requestUploadProgress
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||