wt.clients.content
Class UploadDownloadEvent
java.lang.Object
java.util.EventObject
wt.clients.content.UploadDownloadEvent
- All Implemented Interfaces:
- Serializable
- public class UploadDownloadEvent
- extends EventObject
Event class which is used for events associated with
uploading and downloading files associated with a
ContentHolder. This Event class provides access to
the HttpOperationStatus associated with the upload or
download performed.
Supported API: false
Extendable: false
- See Also:
ContentHolder
,
HttpOperationStatus
,
Serialized Form
httpStatus
private HttpOperationStatus httpStatus
UploadDownloadEvent
public UploadDownloadEvent(ContentHolder content_holder,
HttpOperationStatus status)
getHTTPStatus
public HttpOperationStatus getHTTPStatus()
- Returns the HttpOperationStatus for the upload or
download associated with this event.
- Returns:
- the HttpOperationStatus associated with this
event.
getContentHolder
public ContentHolder getContentHolder()
- Returns the ContentHolder whose content files were
uploaded or downloaded.
- Returns:
- the ContentHolder involved in the upload/download.