|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
wt.clients.util.http.HTTPUploadDownloadEvent
Instances of class HTTPUploadDownloadEvent are used communicate
significant events related to instances of class HTTPUploadDownload.
Supported API:false
Extendable:false
Field Summary | |
static int |
DEFAULT_FILENAME_CHANGE
Indicates that the default file name has changed. |
private String |
defaultFilename
|
private int |
eventType
|
static int |
FILE_OPERATION_CANCEL
File operation cancelled by user. |
static int |
FILE_OPERATION_COMPLETE
|
static int |
FILE_OPERATION_CONFIRM_OVERWRITE
HTTPUploadDownload is waiting for file overwrite confirmation. |
static int |
FILE_OPERATION_FAIL
|
static int |
FILE_OPERATION_REQUEST
File entry process start. |
static int |
FILE_OPERATION_START
Upload or download of file entry has started. |
static int |
GLOBAL_OVERWRITE_CHANGE
Indicates that the global overwrite warning flag has changed. |
static int |
GLOBAL_OVERWRITE_WARNING_CHANGE
|
private boolean |
globalOverwriteWarning
|
private int |
httpResponseCode
|
private int |
index
|
static int |
OPERATION_CANCEL
Indicates that the file upload was cancelled by the user. |
static int |
OPERATION_CANCEL_REQUEST
Indicates that the application has requested that the current upload or download operation be canceled. |
static int |
OPERATION_COMPLETE
Indicates that the file upload operation has completed succesfully. |
static int |
OPERATION_FAILURE
Indicates the file upload failed. |
static int |
OPERATION_INACTIVE
Indicate that there is no upload/download operation active. |
static int |
OPERATION_REQUEST
Indicates that the user requested upload/download operation. |
static int |
OPERATION_START
Indicates that the operation has started. |
private int |
operationFailureCode
|
private int |
operationStatus
|
static int |
OVERWRITE_CHANGE
Indicates that an individual file overwrite warning flag has changed. |
private boolean |
overwriteWarning
|
private String |
path
|
static int |
PATH_CHANGE
Indicates that the path property has changed. |
static int |
UPLOAD_URL_CHANGE
Indicates that the multi-part upload url has changed. |
private String |
uploadURL
|
private String |
url
|
static int |
URL_CHANGE
Indicates that the url property has changed. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
HTTPUploadDownloadEvent(HTTPUploadDownload source,
int eventType,
int fileIndex)
Construct an HTTPUploadDownloadEvent. |
Method Summary | |
String |
getDefaultFilename()
Return the default file name. |
int |
getEventType()
Return the type of the event, e.g. |
boolean |
getGlobalOverwriteWarning()
Return the global overwrite warning flag. |
int |
getHTTPResponseCode()
|
int |
getIndex()
Return the index of the file to which this event applies. |
int |
getOperationFailureCode()
Return the overall operation status. |
int |
getOperationStatus()
Return the overall operation status. |
boolean |
getOverwriteWarning()
Return the individual file overwrite warning flag. |
String |
getPath()
Return the current value of the path. |
String |
getUploadURL()
|
String |
getURL()
Return the current value of the url. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UPLOAD_URL_CHANGE
public static final int DEFAULT_FILENAME_CHANGE
public static final int URL_CHANGE
public static final int PATH_CHANGE
public static final int GLOBAL_OVERWRITE_WARNING_CHANGE
public static final int OPERATION_INACTIVE
public static final int OPERATION_REQUEST
public static final int OPERATION_START
public static final int OPERATION_COMPLETE
public static final int OPERATION_CANCEL
public static final int OPERATION_FAILURE
public static final int OPERATION_CANCEL_REQUEST
public static final int FILE_OPERATION_REQUEST
public static final int FILE_OPERATION_CONFIRM_OVERWRITE
public static final int FILE_OPERATION_CANCEL
public static final int FILE_OPERATION_START
public static final int FILE_OPERATION_FAIL
public static final int FILE_OPERATION_COMPLETE
public static final int GLOBAL_OVERWRITE_CHANGE
public static final int OVERWRITE_CHANGE
private int eventType
private int index
private String url
private String path
private String uploadURL
private boolean globalOverwriteWarning
private boolean overwriteWarning
private String defaultFilename
private int operationStatus
private int operationFailureCode
private int httpResponseCode
Constructor Detail |
public HTTPUploadDownloadEvent(HTTPUploadDownload source, int eventType, int fileIndex)
source
- The target HTTPUploadDownload object.fileIndex
- The index of the target file entry.Method Detail |
public int getEventType()
public int getIndex()
public String getURL()
public String getPath()
public String getUploadURL()
public boolean getGlobalOverwriteWarning()
public boolean getOverwriteWarning()
public String getDefaultFilename()
public int getOperationStatus()
public int getOperationFailureCode()
public int getHTTPResponseCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |