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

A

actions - Variable in class net.gotev.uploadservice.UploadNotificationStatusConfig
List of actions to be added to this notification.
addActionForAllStatuses(UploadNotificationAction) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Adds the same notification action for all the notification statuses.
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.
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.HttpUploadRequest
Adds a header to this upload request.
addHeader(String, String) - Method in class net.gotev.uploadservice.HttpUploadTaskParameters
 
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.HttpUploadTaskParameters
 
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
 
autoClear - Variable in class net.gotev.uploadservice.UploadNotificationStatusConfig
Clear the notification automatically.
autoDeleteSuccessfullyUploadedFiles - Variable in class net.gotev.uploadservice.UploadTaskParameters
 
autoDetect(String) - Static method in class net.gotev.uploadservice.ContentType
Tries to auto-detect the content type (MIME type) of a specific file.

B

BACKOFF_MULTIPLIER - Static variable in class net.gotev.uploadservice.UploadService
Sets the backoff timer multiplier.
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 UploadRequest.startUpload().
BinaryUploadTask - Class in net.gotev.uploadservice
Implements a binary file upload task.
BinaryUploadTask() - Constructor for class net.gotev.uploadservice.BinaryUploadTask
 
BodyWriter - Class in net.gotev.uploadservice.http
Exposes the methods to be implemented to write the request body.
BodyWriter() - Constructor for class net.gotev.uploadservice.http.BodyWriter
 
BodyWriter.OnStreamWriteListener - Interface in net.gotev.uploadservice.http
Receives the stream write progress and has the ability to cancel it.
BUFFER_SIZE - Static variable in class net.gotev.uploadservice.UploadService
Buffer size in bytes used for data transfer by the upload tasks.

C

cancel() - Method in class net.gotev.uploadservice.UploadTask
 
clearOnAction - Variable in class net.gotev.uploadservice.UploadNotificationStatusConfig
Clear the notification automatically when the clickIntent is performed.
clickIntent - Variable in class net.gotev.uploadservice.UploadNotificationStatusConfig
Intent to be performed when the user taps on the notification.
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.HttpUploadTaskParameters
 
CREATOR - Static variable in class net.gotev.uploadservice.NameValue
 
CREATOR - Static variable in class net.gotev.uploadservice.ServerResponse
 
CREATOR - Static variable in class net.gotev.uploadservice.UploadFile
 
CREATOR - Static variable in class net.gotev.uploadservice.UploadInfo
 
CREATOR - Static variable in class net.gotev.uploadservice.UploadNotificationAction
 
CREATOR - Static variable in class net.gotev.uploadservice.UploadNotificationConfig
 
CREATOR - Static variable in class net.gotev.uploadservice.UploadNotificationStatusConfig
 
CREATOR - Static variable in class net.gotev.uploadservice.UploadTaskParameters
 
customUserAgent - Variable in class net.gotev.uploadservice.HttpUploadTaskParameters
 

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.HttpUploadTaskParameters
 
describeContents() - Method in class net.gotev.uploadservice.NameValue
 
describeContents() - Method in class net.gotev.uploadservice.ServerResponse
 
describeContents() - Method in class net.gotev.uploadservice.UploadFile
 
describeContents() - Method in class net.gotev.uploadservice.UploadInfo
 
describeContents() - Method in class net.gotev.uploadservice.UploadNotificationAction
 
describeContents() - Method in class net.gotev.uploadservice.UploadNotificationConfig
 
describeContents() - Method in class net.gotev.uploadservice.UploadNotificationStatusConfig
 
describeContents() - Method in class net.gotev.uploadservice.UploadTaskParameters
 

E

ELAPSED_TIME - Static variable in class net.gotev.uploadservice.Placeholders
Placeholder to display the total elapsed upload time in minutes and seconds.
equals(Object) - Method in class net.gotev.uploadservice.NameValue
 
equals(Object) - Method in class net.gotev.uploadservice.UploadFile
 
equals(Object) - Method in class net.gotev.uploadservice.UploadNotificationAction
 
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.

F

files - Variable in class net.gotev.uploadservice.UploadTaskParameters
 
flush() - Method in class net.gotev.uploadservice.http.BodyWriter
Ensures the bytes written to the body are all transmitted to the server and clears the local buffer.
flush() - Method in class net.gotev.uploadservice.http.impl.HurlBodyWriter
 
from(NotificationCompat.Action) - Static method in class net.gotev.uploadservice.UploadNotificationAction
Creates a new object from an existing NotificationCompat.Action object.

G

get(String) - Method in class net.gotev.uploadservice.schemehandlers.SchemeHandlerFactory
 
getBody() - Method in class net.gotev.uploadservice.ServerResponse
Gets server response body.
getBodyAsString() - Method in class net.gotev.uploadservice.ServerResponse
Gets server response body as string.
getCancelled() - Method in class net.gotev.uploadservice.UploadNotificationConfig
 
getCompleted() - Method in class net.gotev.uploadservice.UploadNotificationConfig
 
getContentType(Context) - Method in interface net.gotev.uploadservice.schemehandlers.SchemeHandler
 
getContentType(Context) - Method in class net.gotev.uploadservice.UploadFile
Returns the content type for the file
getElapsedTime() - Method in class net.gotev.uploadservice.UploadInfo
Gets upload task's elapsed time in milliseconds.
getElapsedTimeString() - Method in class net.gotev.uploadservice.UploadInfo
Gets the elapsed time as a string, expressed in seconds if the value is < 60, or expressed in minutes:seconds if the value is >= 60.
getError() - Method in class net.gotev.uploadservice.UploadNotificationConfig
 
getFilesLeft() - Method in class net.gotev.uploadservice.UploadInfo
Gets the list of all the files left to be uploaded.
getHeaders() - Method in class net.gotev.uploadservice.ServerResponse
Gets all the server response headers.
getHttpCode() - Method in class net.gotev.uploadservice.ServerResponse
Gets server HTTP response code.
getInputStream(Context) - Method in interface net.gotev.uploadservice.schemehandlers.SchemeHandler
 
getInstance() - Static method in class net.gotev.uploadservice.schemehandlers.SchemeHandlerFactory
 
getLength(Context) - Method in interface net.gotev.uploadservice.schemehandlers.SchemeHandler
 
getMaxRetries() - Method in class net.gotev.uploadservice.UploadTaskParameters
 
getName() - Method in class net.gotev.uploadservice.NameValue
 
getName(Context) - Method in interface net.gotev.uploadservice.schemehandlers.SchemeHandler
 
getName(Context) - Method in class net.gotev.uploadservice.UploadFile
Returns the name of this file.
getNotificationChannelId() - Method in class net.gotev.uploadservice.UploadNotificationConfig
 
getNotificationID() - Method in class net.gotev.uploadservice.UploadInfo
Gets the notification ID.
getNumberOfRetries() - Method in class net.gotev.uploadservice.UploadInfo
Gets the number of the retries that has been made during the upload process.
getPath() - Method in class net.gotev.uploadservice.UploadFile
Returns the string this was initialized with, either an absolute file path or Android content URI
getProgress() - Method in class net.gotev.uploadservice.UploadNotificationConfig
 
getProgressPercent() - Method in class net.gotev.uploadservice.UploadInfo
Gets the upload progress in percent (from 0 to 100).
getProperty(String) - Method in class net.gotev.uploadservice.UploadFile
Gets a property associated to this file.
getProperty(String, String) - Method in class net.gotev.uploadservice.UploadFile
Gets a property associated to this file.
getRequestHeaders() - Method in class net.gotev.uploadservice.HttpUploadTaskParameters
 
getRequestParameters() - Method in class net.gotev.uploadservice.HttpUploadTaskParameters
 
getResponse(HttpConnection.RequestBodyDelegate) - Method in interface net.gotev.uploadservice.http.HttpConnection
Gets the server response.
getResponse(HttpConnection.RequestBodyDelegate) - Method in class net.gotev.uploadservice.http.impl.HurlStackConnection
 
getStartTime() - Method in class net.gotev.uploadservice.UploadInfo
Gets upload task's start timestamp in milliseconds.
getStream(Context) - Method in class net.gotev.uploadservice.UploadFile
Gets the InputStream to read the content of this file.
getSuccessfullyUploadedFiles() - Method in class net.gotev.uploadservice.UploadInfo
Gets the list of the successfully uploaded files.
getTaskList() - Static method in class net.gotev.uploadservice.UploadService
Gets the list of the currently active upload tasks.
getTotalBytes() - Method in class net.gotev.uploadservice.UploadInfo
Gets upload task's total bytes.
getTotalFiles() - Method in class net.gotev.uploadservice.UploadInfo
Gets the total number of files added to the upload request.
getUploadedBytes() - Method in class net.gotev.uploadservice.UploadInfo
Gets the uploaded bytes.
getUploadId() - Method in class net.gotev.uploadservice.UploadInfo
Returns the Upload ID.
getUploadRate() - Method in class net.gotev.uploadservice.UploadInfo
Gets the average upload rate in Kbit/s.
getUploadRateString() - Method in class net.gotev.uploadservice.UploadInfo
Returns a string representation of the upload rate, expressed in the most convenient unit of measurement (Mbit/s if the value is >= 1024, B/s if the value is < 1, otherwise Kbit/s)
getValue() - Method in class net.gotev.uploadservice.NameValue
 

H

hashCode() - Method in class net.gotev.uploadservice.UploadFile
 
hashCode() - Method in class net.gotev.uploadservice.UploadNotificationAction
 
header(String, String) - Static method in class net.gotev.uploadservice.NameValue
 
HTTP_STACK - Static variable in class net.gotev.uploadservice.UploadService
Sets the HTTP Stack to use to perform HTTP based upload requests.
HttpConnection - Interface in net.gotev.uploadservice.http
Defines the methods that has to be implemented by an HTTP connection.
HttpConnection.RequestBodyDelegate - Interface in net.gotev.uploadservice.http
Delegate called when the body is ready to be written.
HttpStack - Interface in net.gotev.uploadservice.http
Defines the methods that has to be implemented by an HTTP stack.
HttpUploadRequest<B extends HttpUploadRequest<B>> - Class in net.gotev.uploadservice
Represents a generic HTTP upload request.
Subclass to create your own custom HTTP 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
 
HttpUploadTaskParameters - Class in net.gotev.uploadservice
Class which contains specific parameters for HTTP uploads.
HttpUploadTaskParameters() - Constructor for class net.gotev.uploadservice.HttpUploadTaskParameters
 
HurlBodyWriter - Class in net.gotev.uploadservice.http.impl
 
HurlBodyWriter(OutputStream) - Constructor for class net.gotev.uploadservice.http.impl.HurlBodyWriter
 
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

iconColorResourceID - Variable in class net.gotev.uploadservice.UploadNotificationStatusConfig
Icon color tint.
iconResourceID - Variable in class net.gotev.uploadservice.UploadNotificationStatusConfig
Notification icon.
id - Variable in class net.gotev.uploadservice.UploadTaskParameters
 
IDLE_TIMEOUT - Static variable in class net.gotev.uploadservice.UploadService
How many time to wait in idle (in milliseconds) before shutting down the service.
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
 
init(String) - Method in interface net.gotev.uploadservice.schemehandlers.SchemeHandler
 
INITIAL_RETRY_WAIT_TIME - Static variable in class net.gotev.uploadservice.UploadService
Sets the time to wait in milliseconds before the next attempt when an upload fails for the first time.
isCustomUserAgentDefined() - Method in class net.gotev.uploadservice.HttpUploadTaskParameters
 
isRingToneEnabled() - Method in class net.gotev.uploadservice.UploadNotificationConfig
 
isSupported(String) - Method in class net.gotev.uploadservice.schemehandlers.SchemeHandlerFactory
 

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

largeIcon - Variable in class net.gotev.uploadservice.UploadNotificationStatusConfig
Large notification icon.
length(Context) - 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

MAX_RETRY_WAIT_TIME - Static variable in class net.gotev.uploadservice.UploadService
Sets the maximum time to wait in milliseconds between two upload attempts.
message - Variable in class net.gotev.uploadservice.UploadNotificationStatusConfig
Notification message.
method - Variable in class net.gotev.uploadservice.HttpUploadTaskParameters
 
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 UploadRequest.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
 
net.gotev.uploadservice.schemehandlers - package net.gotev.uploadservice.schemehandlers
 
notificationConfig - Variable in class net.gotev.uploadservice.UploadTaskParameters
 

O

onBind(Intent) - Method in class net.gotev.uploadservice.UploadService
 
onBodyReady(BodyWriter) - Method in class net.gotev.uploadservice.BinaryUploadTask
 
onBodyReady(BodyWriter) - Method in interface net.gotev.uploadservice.http.HttpConnection.RequestBodyDelegate
Handles the writing of the request body.
onBodyReady(BodyWriter) - Method in class net.gotev.uploadservice.MultipartUploadTask
 
onBytesWritten(int) - Method in interface net.gotev.uploadservice.http.BodyWriter.OnStreamWriteListener
Called every time that a bunch of bytes were written to the body
onBytesWritten(int) - Method in class net.gotev.uploadservice.HttpUploadTask
 
onCancelled(Context, UploadInfo) - Method in class net.gotev.uploadservice.UploadServiceBroadcastReceiver
 
onCancelled(Context, UploadInfo) - Method in class net.gotev.uploadservice.UploadServiceSingleBroadcastReceiver
 
onCancelled(Context, UploadInfo) - Method in interface net.gotev.uploadservice.UploadStatusDelegate
Called when the upload is cancelled.
onCompleted(Context, UploadInfo, ServerResponse) - Method in class net.gotev.uploadservice.UploadServiceBroadcastReceiver
 
onCompleted(Context, UploadInfo, ServerResponse) - Method in class net.gotev.uploadservice.UploadServiceSingleBroadcastReceiver
 
onCompleted(Context, UploadInfo, ServerResponse) - Method in interface net.gotev.uploadservice.UploadStatusDelegate
Called when the upload is completed successfully.
onCreate() - Method in class net.gotev.uploadservice.UploadService
 
onDestroy() - Method in class net.gotev.uploadservice.UploadService
 
onError(Context, UploadInfo, ServerResponse, Exception) - Method in class net.gotev.uploadservice.UploadServiceBroadcastReceiver
 
onError(Context, UploadInfo, ServerResponse, Exception) - Method in class net.gotev.uploadservice.UploadServiceSingleBroadcastReceiver
 
onError(Context, UploadInfo, ServerResponse, Exception) - Method in interface net.gotev.uploadservice.UploadStatusDelegate
Called when an error happens during the upload.
onProgress(Context, UploadInfo) - Method in class net.gotev.uploadservice.UploadServiceBroadcastReceiver
 
onProgress(Context, UploadInfo) - Method in class net.gotev.uploadservice.UploadServiceSingleBroadcastReceiver
 
onProgress(Context, UploadInfo) - Method in interface net.gotev.uploadservice.UploadStatusDelegate
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
 

P

Placeholders - Class in net.gotev.uploadservice
Contains all the placeholders that is possible to use in the notification text strings.
Placeholders() - Constructor for class net.gotev.uploadservice.Placeholders
 
PROGRESS - Static variable in class net.gotev.uploadservice.Placeholders
Placeholder to display the integer progress percent from 0 to 100.

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();.
replace(String, UploadInfo) - Static method in class net.gotev.uploadservice.Placeholders
Replace placeholders in a string.
resetLoggerDelegate() - Static method in class net.gotev.uploadservice.Logger
 
run() - Method in class net.gotev.uploadservice.UploadTask
 

S

SchemeHandler - Interface in net.gotev.uploadservice.schemehandlers
Allows for different file representations to be used by abstracting several characteristics and operations
SchemeHandlerFactory - Class in net.gotev.uploadservice.schemehandlers
Factory which instantiates the proper scheme handler based on the scheme passed.
ServerResponse - Class in net.gotev.uploadservice
Contains the server response.
ServerResponse(int, byte[], LinkedHashMap<String, String>) - Constructor for class net.gotev.uploadservice.ServerResponse
Creates a new server response object.
serverUrl - Variable in class net.gotev.uploadservice.UploadTaskParameters
 
setAutoDeleteFilesAfterSuccessfulUpload(boolean) - Method in class net.gotev.uploadservice.UploadRequest
Sets the automatic file deletion after successful upload.
setBasicAuth(String, String) - Method in class net.gotev.uploadservice.HttpUploadRequest
Sets the HTTP Basic Authentication header.
setClearOnActionForAllStatuses(boolean) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets whether or not to clear the notification when the user taps on it for all the notification statuses.
setClickIntentForAllStatuses(PendingIntent) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets the same intent to be executed when the user taps on the notification for all the notification statuses.
setCustomUserAgent(String) - Method in class net.gotev.uploadservice.HttpUploadRequest
Sets the custom user agent to use for this upload request.
setDelegate(UploadStatusDelegate) - Method in class net.gotev.uploadservice.UploadRequest
Sets the delegate which will receive the events for this upload request.
setFileToUpload(String) - Method in class net.gotev.uploadservice.BinaryUploadRequest
Sets the file used as raw body of the upload request.
setHeaders(List<NameValue>) - Method in interface net.gotev.uploadservice.http.HttpConnection
Set request headers.
setHeaders(List<NameValue>) - Method in class net.gotev.uploadservice.http.impl.HurlStackConnection
 
setIconColorForAllStatuses(int) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets the same notification icon for all the notification statuses.
setIconForAllStatuses(int) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets the same notification icon for all the notification statuses.
setLargeIconForAllStatuses(Bitmap) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets the same large notification icon for all the notification statuses.
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.UploadRequest
Sets the maximum number of retries that the library will try if an error occurs, before returning an error.
setMaxRetries(int) - Method in class net.gotev.uploadservice.UploadTaskParameters
 
setMethod(String) - Method in class net.gotev.uploadservice.HttpUploadRequest
Sets the HTTP method to use.
setNotificationChannelId(String) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets notification channel ID
setNotificationConfig(UploadNotificationConfig) - Method in class net.gotev.uploadservice.UploadRequest
Sets custom notification configuration.
setProperty(String, String) - Method in class net.gotev.uploadservice.UploadFile
Sets a property for this file.
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.
setTitleForAllStatuses(String) - Method in class net.gotev.uploadservice.UploadNotificationConfig
Sets the notification title for all the notification statuses.
setTotalBodyBytes(long, boolean) - Method in interface net.gotev.uploadservice.http.HttpConnection
Sets the total body bytes.
setTotalBodyBytes(long, boolean) - Method in class net.gotev.uploadservice.http.impl.HurlStackConnection
 
setUploadID(String) - Method in class net.gotev.uploadservice.UploadServiceSingleBroadcastReceiver
 
setUsesFixedLengthStreamingMode(boolean) - Method in class net.gotev.uploadservice.HttpUploadRequest
Sets if this upload request is using fixed length streaming mode.
setUtf8Charset() - Method in class net.gotev.uploadservice.MultipartUploadRequest
Sets the charset for this multipart request to UTF-8.
shouldContinueWriting() - Method in interface net.gotev.uploadservice.http.BodyWriter.OnStreamWriteListener
Indicates if the writing of the stream into the body should continue.
shouldContinueWriting() - Method in class net.gotev.uploadservice.HttpUploadTask
 
startUpload() - Method in class net.gotev.uploadservice.BinaryUploadRequest
 
startUpload() - Method in class net.gotev.uploadservice.UploadRequest
Start the background file upload service.
stop(Context) - Static method in class net.gotev.uploadservice.UploadService
Stops the service if no upload tasks are currently running
stop(Context, boolean) - Static method in class net.gotev.uploadservice.UploadService
Stops the 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

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
 
title - Variable in class net.gotev.uploadservice.UploadNotificationStatusConfig
Notification title.
TOTAL_FILES - Static variable in class net.gotev.uploadservice.Placeholders
Placeholder to display the total number of files to upload.

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.
UPLOAD_RATE - Static variable in class net.gotev.uploadservice.Placeholders
Placeholder to display the average upload rate.
UPLOADED_FILES - Static variable in class net.gotev.uploadservice.Placeholders
Placeholder to display the number of successfully uploaded files.
UploadFile - Class in net.gotev.uploadservice
Represents a file to upload.
UploadFile(String) - Constructor for class net.gotev.uploadservice.UploadFile
Creates a new UploadFile.
UploadInfo - Class in net.gotev.uploadservice
Contains upload information and statistics.
UploadNotificationAction - Class in net.gotev.uploadservice
Class which represents a notification action.
UploadNotificationAction(int, CharSequence, PendingIntent) - Constructor for class net.gotev.uploadservice.UploadNotificationAction
Creates a new UploadNotificationAction object.
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
UploadNotificationStatusConfig - Class in net.gotev.uploadservice
 
UploadNotificationStatusConfig() - Constructor for class net.gotev.uploadservice.UploadNotificationStatusConfig
 
UploadRequest<B extends UploadRequest<B>> - Class in net.gotev.uploadservice
Base class to extend to create an upload request.
UploadRequest(Context, String, String) - Constructor for class net.gotev.uploadservice.UploadRequest
Creates a new upload request.
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 subclass to create a receiver for UploadService events.
UploadServiceBroadcastReceiver() - Constructor for class net.gotev.uploadservice.UploadServiceBroadcastReceiver
 
UploadServiceSingleBroadcastReceiver - Class in net.gotev.uploadservice
Utility broadcast receiver to receive only the events for a single uploadID.
UploadServiceSingleBroadcastReceiver(UploadStatusDelegate) - Constructor for class net.gotev.uploadservice.UploadServiceSingleBroadcastReceiver
 
UploadStatusDelegate - Interface in net.gotev.uploadservice
Defines the methods that has to be implemented by a class who wants to listen for upload status events.
UploadTask - Class in net.gotev.uploadservice
Base class to subclass when creating upload tasks.
UploadTask() - Constructor for class net.gotev.uploadservice.UploadTask
 
UploadTaskParameters - Class in net.gotev.uploadservice
Class which contains all the basic parameters passed to the upload task.
UploadTaskParameters() - Constructor for class net.gotev.uploadservice.UploadTaskParameters
 
usesFixedLengthStreamingMode - Variable in class net.gotev.uploadservice.HttpUploadTaskParameters
 

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_MPEG4 - 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

write(byte[]) - Method in class net.gotev.uploadservice.http.BodyWriter
Write a byte array into the request body.
write(byte[], int) - Method in class net.gotev.uploadservice.http.BodyWriter
Write a portion of a byte array into the request body.
write(byte[]) - Method in class net.gotev.uploadservice.http.impl.HurlBodyWriter
 
write(byte[], int) - Method in class net.gotev.uploadservice.http.impl.HurlBodyWriter
 
writeStream(InputStream, BodyWriter.OnStreamWriteListener) - Method in class net.gotev.uploadservice.http.BodyWriter
Writes an input stream to the request body.
writeToParcel(Parcel, int) - Method in class net.gotev.uploadservice.HttpUploadTaskParameters
 
writeToParcel(Parcel, int) - Method in class net.gotev.uploadservice.NameValue
 
writeToParcel(Parcel, int) - Method in class net.gotev.uploadservice.ServerResponse
 
writeToParcel(Parcel, int) - Method in class net.gotev.uploadservice.UploadFile
 
writeToParcel(Parcel, int) - Method in class net.gotev.uploadservice.UploadInfo
 
writeToParcel(Parcel, int) - Method in class net.gotev.uploadservice.UploadNotificationAction
 
writeToParcel(Parcel, int) - Method in class net.gotev.uploadservice.UploadNotificationConfig
 
writeToParcel(Parcel, int) - Method in class net.gotev.uploadservice.UploadNotificationStatusConfig
 
writeToParcel(Parcel, int) - Method in class net.gotev.uploadservice.UploadTaskParameters
 
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links