public class FtpStoreFileRequest extends RetryRequest
RetryRequest.OperationDelay
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<FtpStoreFileRequest> |
CREATOR |
static java.lang.String |
FTP_PROTO |
static java.lang.String |
FTPS_PROTO |
Constructor and Description |
---|
FtpStoreFileRequest(java.lang.String proto,
java.lang.String host,
int port,
java.lang.String serverPath,
UserCredentials credentials,
java.lang.String fileToSend,
boolean activeMode,
boolean binaryMode,
int notificationId,
int retryCount,
java.lang.String callbackAction,
android.os.Parcelable callbackExtra) |
Modifier and Type | Method and Description |
---|---|
Request |
createUploadFileRequest() |
int |
describeContents() |
java.lang.String |
getCallbackAction() |
android.os.Parcelable |
getCallbackExtra() |
UserCredentials |
getCredentials() |
java.lang.String |
getFileToSend() |
java.lang.String |
getHost() |
int |
getPort() |
java.lang.String |
getProtocol() |
java.lang.String |
getServerPath() |
boolean |
hasCallbackAction() |
boolean |
hasCallbackExtra() |
boolean |
hasCredentials() |
boolean |
isActiveMode() |
boolean |
isBinaryMode() |
boolean |
isOverwrite() |
boolean |
isValid() |
void |
setOverwrite(boolean b) |
void |
setServerPath(java.lang.String path) |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getDelay, getNotificationId, getRetryCount, setRetryCount
public static final java.lang.String FTP_PROTO
public static final java.lang.String FTPS_PROTO
public static final android.os.Parcelable.Creator<FtpStoreFileRequest> CREATOR
public FtpStoreFileRequest(java.lang.String proto, java.lang.String host, int port, java.lang.String serverPath, UserCredentials credentials, java.lang.String fileToSend, boolean activeMode, boolean binaryMode, int notificationId, int retryCount, java.lang.String callbackAction, android.os.Parcelable callbackExtra)
proto
- host
- port
- serverPath
- credentials
- fileToSend
- activeMode
- binaryMode
- notificationId
- retryCount
- callbackAction
- callbackExtra
- public boolean isValid()
isValid
in class RetryRequest
public java.lang.String getProtocol()
public java.lang.String getHost()
public int getPort()
public java.lang.String getServerPath()
public void setServerPath(java.lang.String path)
public java.lang.String getFileToSend()
public UserCredentials getCredentials()
public boolean isActiveMode()
public boolean isBinaryMode()
public boolean isOverwrite()
public void setOverwrite(boolean b)
public boolean hasCallbackAction()
public java.lang.String getCallbackAction()
public android.os.Parcelable getCallbackExtra()
public boolean hasCallbackExtra()
public boolean hasCredentials()
public java.lang.String toString()
toString
in class RetryRequest
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class RetryRequest
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class RetryRequest
public Request createUploadFileRequest()