Skip navigation links
A B C D E G H I K L M N O R S T U V W 

A

addArrayParameter(String, String...) - Method in class net.gotev.uploadservice.BinaryUploadRequest
 
addArrayParameter(String, List<String>) - Method in class net.gotev.uploadservice.BinaryUploadRequest
 
addArrayParameter(String, String...) - Method in class net.gotev.uploadservice.HttpUploadRequest
Adds a parameter with multiple values to this upload request.
addArrayParameter(String, List<String>) - Method in class net.gotev.uploadservice.HttpUploadRequest
Adds a parameter with multiple values to this upload request.
addArrayParameter(String, String...) - Method in class net.gotev.uploadservice.MultipartUploadRequest
 
addArrayParameter(String, List<String>) - Method in class net.gotev.uploadservice.MultipartUploadRequest
 
addFile(UploadFile) - Method in class net.gotev.uploadservice.TaskParameters
 
addFileToUpload(String, String, String, String) - Method in class net.gotev.uploadservice.MultipartUploadRequest
Adds a file to this upload request.
addFileToUpload(String, String, String) - Method in class net.gotev.uploadservice.MultipartUploadRequest
Adds a file to this upload request, without setting the content type, which will be automatically detected from the file extension.
addFileToUpload(String, String) - Method in class net.gotev.uploadservice.MultipartUploadRequest
Adds a file to this upload request, without setting file name and content type.
addHeader(String, String) - Method in class net.gotev.uploadservice.BinaryUploadRequest
 
addHeader(String, String) - Method in class net.gotev.uploadservice.HttpUploadRequest
Adds a header to this upload request.
addHeader(String, String) - Method in class net.gotev.uploadservice.MultipartUploadRequest
 
addParameter(String, String) - Method in class net.gotev.uploadservice.BinaryUploadRequest
 
addParameter(String, String) - Method in class net.gotev.uploadservice.HttpUploadRequest
Adds a parameter to this upload request.
addParameter(String, String) - Method in class net.gotev.uploadservice.MultipartUploadRequest
 
addRequestHeader(String, String) - Method in class net.gotev.uploadservice.TaskParameters
 
addRequestParameter(String, String) - Method in class net.gotev.uploadservice.TaskParameters
 
APPLICATION_BCPIO - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_CDF - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_CPIO - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_CSH - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_DIRECTOR - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_DVI - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_ENVOY - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_FRACTALS - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_FUTURESPLASH - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_GTAR - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_GZIP - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_HDF - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_HTA - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_INTERNET_PROPERTY_STREAM - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_INTERNET_SIGNUP - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_IPHONE - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_JAVASCRIPT - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_LATEX - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MAC_BINHEX40 - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_ACCESS - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_CARD_FILE - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_CLIP - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_DOWNLOAD - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_EXCEL - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_MEDIAVIEW - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_METAFILE - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_MONEY - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_OUTLOOK - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_PKICERTSTORE - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_PKISECCAT - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_PKISTL - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_POWERPOINT - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_PROJECT - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_PUBLISHER - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_SCHEDULE - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_TERMINAL - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_WORD - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_WORKS - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_MS_WRITE - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_NET_CDF - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_OCTET_STREAM - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_ODA - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_OLESCRIPT - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_PDF - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_PERFMON - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_PICS_RULES - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_PKCS10 - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_PKCS_12 - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_PKCS_7_CERTIFICATES - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_PKCS_7_CERTREQRESP - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_PKCS_7_MIME - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_PKCS_7_SIGNATURE - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_PKIX_CRL - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_PKO - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_POSTSCRIPT - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_RTF - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_SETPAY - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_SETREG - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_SH - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_SHAR - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_SHOCKWAVE_FLASH - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_STUFFIT - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_SV4CPIO - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_SV4CRC - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_TAR - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_TCL - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_TEX - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_TEXINFO - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_TGZ - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_TROFF - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_TROFF_MAN - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_TROFF_ME - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_TROFF_MS - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_USTAR - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_WAIS_SOURCE - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_WINHLP - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_X509_CA_CERT - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_XML - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_Z - Static variable in class net.gotev.uploadservice.ContentType
 
APPLICATION_ZIP - Static variable in class net.gotev.uploadservice.ContentType
 
AUDIO_AIFF - Static variable in class net.gotev.uploadservice.ContentType
 
AUDIO_BASIC - Static variable in class net.gotev.uploadservice.ContentType
 
AUDIO_M3U - Static variable in class net.gotev.uploadservice.ContentType
 
AUDIO_MID - Static variable in class net.gotev.uploadservice.ContentType
 
AUDIO_MPEG - Static variable in class net.gotev.uploadservice.ContentType
 
AUDIO_REAL_AUDIO - Static variable in class net.gotev.uploadservice.ContentType
 
AUDIO_WAV - Static variable in class net.gotev.uploadservice.ContentType
 

B

BinaryUploadRequest - Class in net.gotev.uploadservice
Binary file upload request.
BinaryUploadRequest(Context, String, String) - Constructor for class net.gotev.uploadservice.BinaryUploadRequest
Creates a binary file upload request.
BinaryUploadRequest(Context, String) - Constructor for class net.gotev.uploadservice.BinaryUploadRequest
Creates a new binaryupload request and automatically generates an upload id, that will be returned when you call HttpUploadRequest.startUpload().
BinaryUploadTask - Class in net.gotev.uploadservice
Implements a binary file upload task.
BinaryUploadTask() - Constructor for class net.gotev.uploadservice.BinaryUploadTask
 

C

cancel() - Method in class net.gotev.uploadservice.HttpUploadTask
 
close() - Method in interface net.gotev.uploadservice.http.HttpConnection
Closes the connection and frees all the allocated resources.
close() - Method in class net.gotev.uploadservice.http.impl.HurlStackConnection
 
ContentType - Class in net.gotev.uploadservice
Static class containing string constants for the most common Internet content types.
createNewConnection(String, String) - Method in interface net.gotev.uploadservice.http.HttpStack
Creates a new connection for a given URL and HTTP Method.
createNewConnection(String, String) - Method in class net.gotev.uploadservice.http.impl.HurlStack
 
CREATOR - Static variable in class net.gotev.uploadservice.NameValue
 
CREATOR - Static variable in class net.gotev.uploadservice.TaskParameters
 
CREATOR - Static variable in class net.gotev.uploadservice.UploadFile
 
CREATOR - Static variable in class net.gotev.uploadservice.UploadNotificationConfig
 

D

debug(String, String) - Method in class net.gotev.uploadservice.DefaultLoggerDelegate
 
debug(String, String) - Static method in class net.gotev.uploadservice.Logger
 
debug(String, String) - Method in interface net.gotev.uploadservice.Logger.LoggerDelegate
 
DefaultLoggerDelegate - Class in net.gotev.uploadservice
Default logger delegate implementation which logs in LogCat with Log.
DefaultLoggerDelegate() - Constructor for class net.gotev.uploadservice.DefaultLoggerDelegate
 
describeContents() - Method in class net.gotev.uploadservice.NameValue
 
describeContents() - Method in class net.gotev.uploadservice.TaskParameters
 
describeContents() - Method in class net.gotev.uploadservice.UploadFile
 
describeContents() - Method in class net.gotev.uploadservice.UploadNotificationConfig
 

E

equals(Object) - Method in class net.gotev.uploadservice.NameValue
 
error(String, String) - Method in class net.gotev.uploadservice.DefaultLoggerDelegate
 
error(String, String, Throwable) - Method in class net.gotev.uploadservice.DefaultLoggerDelegate
 
error(String, String) - Static method in class net.gotev.uploadservice.Logger
 
error(String, String, Throwable) - Static method in class net.gotev.uploadservice.Logger
 
error(String, String) - Method in interface net.gotev.uploadservice.Logger.LoggerDelegate
 
error(String, String, Throwable) - Method in interface net.gotev.uploadservice.Logger.LoggerDelegate
 
EXECUTE_IN_FOREGROUND - Static variable in class net.gotev.uploadservice.UploadService
If set to true, the service will go in foreground mode when doing uploads, lowering the probability of being killed by the system on low memory.

G

getCustomUserAgent() - Method in class net.gotev.uploadservice.TaskParameters
 
getFiles() - Method in class net.gotev.uploadservice.TaskParameters
 
getId() - Method in class net.gotev.uploadservice.TaskParameters
 
getMaxRetries() - Method in class net.gotev.uploadservice.TaskParameters
 
getMethod() - Method in class net.gotev.uploadservice.TaskParameters
 
getMultipartBytes(boolean) - Method in class net.gotev.uploadservice.NameValue
 
getMultipartHeader(boolean) - Method in class net.gotev.uploadservice.UploadFile
Gets the HTTP/Multipart header for this file.
getName() - Method in class net.gotev.uploadservice.NameValue
 
getNotificationConfig() - Method in class net.gotev.uploadservice.TaskParameters
 
getRequestHeaders() - Method in class net.gotev.uploadservice.TaskParameters
 
getRequestParameters() - Method in class net.gotev.uploadservice.TaskParameters
 
getServerResponseBody() - Method in interface net.gotev.uploadservice.http.HttpConnection
Gets the server response body.
getServerResponseBody() - Method in class net.gotev.uploadservice.http.impl.HurlStackConnection
 
getServerResponseCode() - Method in interface net.gotev.uploadservice.http.HttpConnection
Gets the HTTP response code from the server.
getServerResponseCode() - Method in class net.gotev.uploadservice.http.impl.HurlStackConnection
 
getStream() - Method in class net.gotev.uploadservice.UploadFile
Gets the InputStream to read the content of this file.
getTotalMultipartBytes(long, boolean) - Method in class net.gotev.uploadservice.UploadFile
Get the total number of bytes needed by this file in the HTTP/Multipart request, considering that to send each file there is some overhead due to some bytes needed for the boundary and some bytes needed for the multipart headers
getUrl() - Method in class net.gotev.uploadservice.TaskParameters
 
getValue() - Method in class net.gotev.uploadservice.NameValue
 

H

HTTP_STACK - Static variable in class net.gotev.uploadservice.UploadService
Sets the Http Stack to use to perform upload requests.
HttpConnection - Interface in net.gotev.uploadservice.http
Defines the methods that has to be implemented by an HTTP connection.
HttpStack - Interface in net.gotev.uploadservice.http
Defines the methods that has to be implemented by an HTTP stack.
HttpUploadRequest - Class in net.gotev.uploadservice
Represents a generic HTTP upload request.
Subclass to create your own custom upload request.
HttpUploadRequest(Context, String, String) - Constructor for class net.gotev.uploadservice.HttpUploadRequest
Creates a new http upload request.
HttpUploadTask - Class in net.gotev.uploadservice
Generic HTTP Upload Task.
Subclass to create your custom upload task.
HttpUploadTask() - Constructor for class net.gotev.uploadservice.HttpUploadTask
 
HurlStack - Class in net.gotev.uploadservice.http.impl
HttpUrlConnection stack implementation.
HurlStack() - Constructor for class net.gotev.uploadservice.http.impl.HurlStack
 
HurlStack(boolean, boolean, int, int) - Constructor for class net.gotev.uploadservice.http.impl.HurlStack
 
HurlStackConnection - Class in net.gotev.uploadservice.http.impl
HttpConnection implementation using HttpURLConnection.
HurlStackConnection(String, String, boolean, boolean, int, int) - Constructor for class net.gotev.uploadservice.http.impl.HurlStackConnection
 

I

IMAGE_BMP - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_CMU_RASTER - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_CMX - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_COD - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_GIF - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_ICO - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_IEF - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_JPEG - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_PIPEG - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_PORTABLE_ANYMAP - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_PORTABLE_BITMAP - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_PORTABLE_GRAYMAP - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_PORTABLE_PIXMAP - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_SVG - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_TIFF - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_XBITMAP - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_XPIXMAP - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_XRGB - Static variable in class net.gotev.uploadservice.ContentType
 
IMAGE_XWINDOWDUMP - Static variable in class net.gotev.uploadservice.ContentType
 
info(String, String) - Method in class net.gotev.uploadservice.DefaultLoggerDelegate
 
info(String, String) - Static method in class net.gotev.uploadservice.Logger
 
info(String, String) - Method in interface net.gotev.uploadservice.Logger.LoggerDelegate
 
isAutoDeleteSuccessfullyUploadedFiles() - Method in class net.gotev.uploadservice.TaskParameters
 
isCustomUserAgentDefined() - Method in class net.gotev.uploadservice.TaskParameters
 
isUsesFixedLengthStreamingMode() - Method in class net.gotev.uploadservice.TaskParameters
 

K

KEEP_ALIVE_TIME_IN_SECONDS - Static variable in class net.gotev.uploadservice.UploadService
When the number of threads is greater than UPLOAD_POOL_SIZE, this is the maximum time that excess idle threads will wait for new tasks before terminating.

L

length() - Method in class net.gotev.uploadservice.UploadFile
Gets the file length in bytes.
Logger - Class in net.gotev.uploadservice
Android Upload Service library logger.
Logger.LoggerDelegate - Interface in net.gotev.uploadservice
 
Logger.LogLevel - Enum in net.gotev.uploadservice
 

M

MultipartUploadRequest - Class in net.gotev.uploadservice
HTTP/Multipart upload request.
MultipartUploadRequest(Context, String, String) - Constructor for class net.gotev.uploadservice.MultipartUploadRequest
Creates a new multipart upload request.
MultipartUploadRequest(Context, String) - Constructor for class net.gotev.uploadservice.MultipartUploadRequest
Creates a new multipart upload request and automatically generates an upload id, that will be returned when you call HttpUploadRequest.startUpload().
MultipartUploadTask - Class in net.gotev.uploadservice
Implements an HTTP Multipart upload task.
MultipartUploadTask() - Constructor for class net.gotev.uploadservice.MultipartUploadTask
 

N

NAMESPACE - Static variable in class net.gotev.uploadservice.UploadService
Sets the namespace used to broadcast events.
NameValue - Class in net.gotev.uploadservice
Represents a request parameter.
NameValue(String, String) - Constructor for class net.gotev.uploadservice.NameValue
 
net.gotev.uploadservice - package net.gotev.uploadservice
 
net.gotev.uploadservice.http - package net.gotev.uploadservice.http
 
net.gotev.uploadservice.http.impl - package net.gotev.uploadservice.http.impl
 

O

onBind(Intent) - Method in class net.gotev.uploadservice.UploadService
 
onCancelled(String) - Method in class net.gotev.uploadservice.UploadServiceBroadcastReceiver
Called when the upload is cancelled.
onCompleted(String, int, byte[]) - Method in class net.gotev.uploadservice.UploadServiceBroadcastReceiver
Called when the upload is completed successfully.
onCreate() - Method in class net.gotev.uploadservice.UploadService
 
onDestroy() - Method in class net.gotev.uploadservice.UploadService
 
onError(String, Exception) - Method in class net.gotev.uploadservice.UploadServiceBroadcastReceiver
Called when an error happens during the upload.
onProgress(String, int) - Method in class net.gotev.uploadservice.UploadServiceBroadcastReceiver
Called when the upload progress changes.
onProgress(String, long, long) - Method in class net.gotev.uploadservice.UploadServiceBroadcastReceiver
Called when the upload progress changes.
onReceive(Context, Intent) - Method in class net.gotev.uploadservice.UploadServiceBroadcastReceiver
 
onStartCommand(Intent, int, int) - Method in class net.gotev.uploadservice.UploadService
 

R

register(Context) - Method in class net.gotev.uploadservice.UploadServiceBroadcastReceiver
Register this upload receiver.
If you use this receiver in an Activity, you have to call this method inside Activity.onResume(), after super.onResume();.
If you use it in a Service, you have to call this method inside Service.onCreate(), after super.onCreate();.
resetLoggerDelegate() - Static method in class net.gotev.uploadservice.Logger
 
run() - Method in class net.gotev.uploadservice.HttpUploadTask
 

S

setAutoClearOnSuccess(boolean) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets whether or not to auto clear the notification when the upload is completed successfully.
setAutoDeleteFilesAfterSuccessfulUpload(boolean) - Method in class net.gotev.uploadservice.BinaryUploadRequest
 
setAutoDeleteFilesAfterSuccessfulUpload(boolean) - Method in class net.gotev.uploadservice.HttpUploadRequest
Sets the automatic file deletion after successful upload.
setAutoDeleteFilesAfterSuccessfulUpload(boolean) - Method in class net.gotev.uploadservice.MultipartUploadRequest
 
setAutoDeleteSuccessfullyUploadedFiles(boolean) - Method in class net.gotev.uploadservice.TaskParameters
 
setBasicAuth(String, String) - Method in class net.gotev.uploadservice.BinaryUploadRequest
 
setBasicAuth(String, String) - Method in class net.gotev.uploadservice.HttpUploadRequest
Sets the HTTP Basic Authentication header.
setBasicAuth(String, String) - Method in class net.gotev.uploadservice.MultipartUploadRequest
 
setClearOnAction(boolean) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets whether or not to clear the notification when the user taps on it.
setClickIntent(Intent) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets the intent to be executed when the user taps on the notification.
setCompletedMessage(String) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets the message to be shown when the upload is completed.
setCustomUserAgent(String) - Method in class net.gotev.uploadservice.BinaryUploadRequest
 
setCustomUserAgent(String) - Method in class net.gotev.uploadservice.HttpUploadRequest
Sets the custom user agent to use for this upload request.
setCustomUserAgent(String) - Method in class net.gotev.uploadservice.MultipartUploadRequest
 
setCustomUserAgent(String) - Method in class net.gotev.uploadservice.TaskParameters
 
setErrorMessage(String) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets the message to be shown if an error occurs.
setFileToUpload(String) - Method in class net.gotev.uploadservice.BinaryUploadRequest
Sets the file used as raw body of the upload request.
setHeaders(List<NameValue>, boolean, long) - Method in interface net.gotev.uploadservice.http.HttpConnection
Set request headers.
setHeaders(List<NameValue>, boolean, long) - Method in class net.gotev.uploadservice.http.impl.HurlStackConnection
 
setIcon(int) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets the notification icon.
setId(String) - Method in class net.gotev.uploadservice.TaskParameters
 
setInProgressMessage(String) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets the message to be shown while upload is in progress.
setLoggerDelegate(Logger.LoggerDelegate) - Static method in class net.gotev.uploadservice.Logger
 
setLogLevel(Logger.LogLevel) - Static method in class net.gotev.uploadservice.Logger
 
setMaxRetries(int) - Method in class net.gotev.uploadservice.BinaryUploadRequest
 
setMaxRetries(int) - Method in class net.gotev.uploadservice.HttpUploadRequest
Sets the maximum number of retries that the library will do if an error occurs, before returning an error.
setMaxRetries(int) - Method in class net.gotev.uploadservice.MultipartUploadRequest
 
setMaxRetries(int) - Method in class net.gotev.uploadservice.TaskParameters
 
setMethod(String) - Method in class net.gotev.uploadservice.BinaryUploadRequest
 
setMethod(String) - Method in class net.gotev.uploadservice.HttpUploadRequest
Sets the HTTP method to use.
setMethod(String) - Method in class net.gotev.uploadservice.MultipartUploadRequest
 
setMethod(String) - Method in class net.gotev.uploadservice.TaskParameters
 
setNotificationConfig(UploadNotificationConfig) - Method in class net.gotev.uploadservice.BinaryUploadRequest
 
setNotificationConfig(UploadNotificationConfig) - Method in class net.gotev.uploadservice.HttpUploadRequest
Sets custom notification configuration.
setNotificationConfig(UploadNotificationConfig) - Method in class net.gotev.uploadservice.MultipartUploadRequest
 
setNotificationConfig(UploadNotificationConfig) - Method in class net.gotev.uploadservice.TaskParameters
 
setRingToneEnabled(Boolean) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets whether or not to enable the notification sound when the upload gets completed with success or error
setTitle(String) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets the notification title.
setUrl(String) - Method in class net.gotev.uploadservice.TaskParameters
 
setUsesFixedLengthStreamingMode(boolean) - Method in class net.gotev.uploadservice.BinaryUploadRequest
 
setUsesFixedLengthStreamingMode(boolean) - Method in class net.gotev.uploadservice.HttpUploadRequest
Sets if this upload request is using fixed length streaming mode.
setUsesFixedLengthStreamingMode(boolean) - Method in class net.gotev.uploadservice.MultipartUploadRequest
 
setUsesFixedLengthStreamingMode(boolean) - Method in class net.gotev.uploadservice.TaskParameters
 
setUtf8Charset() - Method in class net.gotev.uploadservice.MultipartUploadRequest
Sets the charset for this multipart request to UTF-8.
startUpload() - Method in class net.gotev.uploadservice.HttpUploadRequest
Start the background file upload service.
stopAllUploads() - Static method in class net.gotev.uploadservice.UploadService
Stop all the active uploads.
stopUpload(String) - Static method in class net.gotev.uploadservice.UploadService
Stops the upload task with the given uploadId.

T

TaskParameters - Class in net.gotev.uploadservice
Class which contains all the parameters passed to the upload task.
TaskParameters() - Constructor for class net.gotev.uploadservice.TaskParameters
 
TEXT_COMPONENT - Static variable in class net.gotev.uploadservice.ContentType
 
TEXT_CSS - Static variable in class net.gotev.uploadservice.ContentType
 
TEXT_CSV - Static variable in class net.gotev.uploadservice.ContentType
 
TEXT_H323 - Static variable in class net.gotev.uploadservice.ContentType
 
TEXT_HTML - Static variable in class net.gotev.uploadservice.ContentType
 
TEXT_IULS - Static variable in class net.gotev.uploadservice.ContentType
 
TEXT_PLAIN - Static variable in class net.gotev.uploadservice.ContentType
 
TEXT_RICHTEXT - Static variable in class net.gotev.uploadservice.ContentType
 
TEXT_SCRIPTLET - Static variable in class net.gotev.uploadservice.ContentType
 
TEXT_SETEXT - Static variable in class net.gotev.uploadservice.ContentType
 
TEXT_TAB_SEPARATED_VALUES - Static variable in class net.gotev.uploadservice.ContentType
 
TEXT_VCARD - Static variable in class net.gotev.uploadservice.ContentType
 
TEXT_VIEWVIEW - Static variable in class net.gotev.uploadservice.ContentType
 
TEXT_XML - Static variable in class net.gotev.uploadservice.ContentType
 

U

unregister(Context) - Method in class net.gotev.uploadservice.UploadServiceBroadcastReceiver
Unregister this upload receiver.
If you use this receiver in an Activity, you have to call this method inside Activity.onPause(), after super.onPause();.
If you use it in a Service, you have to call this method inside Service.onDestroy().
UPLOAD_POOL_SIZE - Static variable in class net.gotev.uploadservice.UploadService
Sets how many threads to use to handle concurrent uploads.
UploadFile - Class in net.gotev.uploadservice
Represents a file to upload.
UploadNotificationConfig - Class in net.gotev.uploadservice
Contains the configuration of the upload notification.
UploadNotificationConfig() - Constructor for class net.gotev.uploadservice.UploadNotificationConfig
Creates a new upload notification configuration with default settings: android.R.drawable.ic_menu_upload will be used as the icon If the user taps on the notification, nothing will happen Once the operation is completed (either successfully or with an error): the default notification sound will be emitted (or the default notification vibration if the device is in silent mode) the notification will remain in the Notification Center until the user swipes it out
UploadService - Class in net.gotev.uploadservice
Service to upload files in background using HTTP POST with notification center progress display.
UploadService() - Constructor for class net.gotev.uploadservice.UploadService
 
UploadServiceBroadcastReceiver - Class in net.gotev.uploadservice
Broadcast receiver to sublass to create a receiver for UploadService events.
UploadServiceBroadcastReceiver() - Constructor for class net.gotev.uploadservice.UploadServiceBroadcastReceiver
 

V

valueOf(String) - Static method in enum net.gotev.uploadservice.Logger.LogLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.gotev.uploadservice.Logger.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
VIDEO_AVI - Static variable in class net.gotev.uploadservice.ContentType
 
VIDEO_LA_ASF - Static variable in class net.gotev.uploadservice.ContentType
 
VIDEO_MOVIE - Static variable in class net.gotev.uploadservice.ContentType
 
VIDEO_MPEG - Static variable in class net.gotev.uploadservice.ContentType
 
VIDEO_MS_ASF - Static variable in class net.gotev.uploadservice.ContentType
 
VIDEO_QUICKTIME - Static variable in class net.gotev.uploadservice.ContentType
 

W

writeBody(byte[]) - Method in interface net.gotev.uploadservice.http.HttpConnection
Write a byte array into the request body.
writeBody(byte[], int) - Method in interface net.gotev.uploadservice.http.HttpConnection
Write a portion of a byte array into the request body.
writeBody(byte[]) - Method in class net.gotev.uploadservice.http.impl.HurlStackConnection
 
writeBody(byte[], int) - Method in class net.gotev.uploadservice.http.impl.HurlStackConnection
 
writeToParcel(Parcel, int) - Method in class net.gotev.uploadservice.NameValue
 
writeToParcel(Parcel, int) - Method in class net.gotev.uploadservice.TaskParameters
 
writeToParcel(Parcel, int) - Method in class net.gotev.uploadservice.UploadFile
 
writeToParcel(Parcel, int) - Method in class net.gotev.uploadservice.UploadNotificationConfig
 
A B C D E G H I K L M N O R S T U V W 
Skip navigation links