Skip navigation links
Version 1.2.2
C E F G H I R S T U V 

C

com.addicticks.net.httpsupload - package com.addicticks.net.httpsupload
Classes that support uploading a file (or files) to a remote server using either HTTP or HTTPS.
CONNECT_TIMEOUT_MS - Static variable in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Default connect timeout on the URL connection.

E

endpointRequiresAuthentication() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Does the endpoint require authentication?

F

fileSizeAsStr(long) - Static method in class com.addicticks.net.httpsupload.Utils
Formats a byte size (for example the size of a file) into an easy-to-read string.
fromNumStatusCode(int) - Static method in enum com.addicticks.net.httpsupload.Utils.HttpStatusCode
Gets an enumeration value from a numeric HTTP status code.

G

getAcceptedIssuers() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Gets list of accepted Issuer Organization names that will be accepted for the server's certificate.
getAdditionalHeaders() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Gets the additional HTTP headers used on the upload POST request.
getConnectTimeoutMs() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Gets the connect timeout that is used on the URL connection.
getEndpointPassword() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Gets the endpoint authentication password (authentication type: Basic).
getEndpointUsername() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Gets the endpoint authentication username (authentication type: Basic).
getFile() - Method in class com.addicticks.net.httpsupload.UploadItem
Gets the file to upload or null if what is being uploaded is not a physical file.
getFile() - Method in class com.addicticks.net.httpsupload.UploadItemFile
 
getFile() - Method in class com.addicticks.net.httpsupload.UploadItemStream
 
getFormFieldName() - Method in class com.addicticks.net.httpsupload.UploadItem
Gets the form field name into which the file is uploaded.
getHintFilename() - Method in class com.addicticks.net.httpsupload.UploadItem
Gets the hint file name associated with this upload item.
getHttpStatusCode() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderResult
Gets the HTTP response status code.
getHttpStatusCodeEnum() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderResult
Gets the HTTP response status code as an enum.
getHttpStatusCodeText(int) - Static method in class com.addicticks.net.httpsupload.Utils
Gets the numerical HTTP status code concatenated with the text representing that status code, for example "403 Forbidden".
getInputStream() - Method in class com.addicticks.net.httpsupload.UploadItem
 
getInputStream() - Method in class com.addicticks.net.httpsupload.UploadItemFile
 
getInputStream() - Method in class com.addicticks.net.httpsupload.UploadItemStream
 
getMimeType() - Method in class com.addicticks.net.httpsupload.UploadItem
Gets the MIME type associated with this upload item.
getProxyAddress() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Address of proxy if one has been defined.
getProxyPort() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Gets the port number used by the proxy.
getReadTimeoutMs() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Gets the read timeout that is used on the URL connection.
getResponseText() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderResult
Gets the response text from an upload request.
getResponseTextNoHtml() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderResult
Gets the response text from an upload request.
getSizeInBytes() - Method in class com.addicticks.net.httpsupload.UploadItem
Gets the byte size of the upload item or -1 if the size is unknown.
getSizeInBytes() - Method in class com.addicticks.net.httpsupload.UploadItemFile
 
getSizeInBytes() - Method in class com.addicticks.net.httpsupload.UploadItemStream
 
getStatusCode() - Method in enum com.addicticks.net.httpsupload.Utils.HttpStatusCode
Gets the numerical status code.
getText() - Method in enum com.addicticks.net.httpsupload.Utils.HttpStatusCode
Gets a one-line short text for the status code.
getURL() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Gets the endpointURLString as a URL object.

H

HttpsFileUploader - Class in com.addicticks.net.httpsupload
Uploading file(s) to a HTTP/HTTPS site using POST method and the multipart/form-data encoding (RFC2388).
HttpsFileUploaderConfig - Class in com.addicticks.net.httpsupload
Configuration values for the connection to a HTTP or HTTPS server.
HttpsFileUploaderConfig(URL) - Constructor for class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Creates a configuration object with only the URL endpoint defined.
HttpsFileUploaderResult - Class in com.addicticks.net.httpsupload
Enclosing class for the result of a file upload operation.
HttpsFileUploaderResult(int, String) - Constructor for class com.addicticks.net.httpsupload.HttpsFileUploaderResult
 

I

isError() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderResult
Convenience method.
isValidateCertificates() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Must certificates from the endpoint be validated?

R

READ_TIMEOUT_MS - Static variable in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Default read timeout on the URL connection.

S

setAcceptedIssuers(String[]) - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Sets the list of Issuer Organization names that will be accepted for the server's certificate.
setAdditionalHeaders(Map<String, String>) - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Sets additional overall HTTP headers to add to the upload POST request.
setConnectTimeoutMs(int) - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Sets the connect timeout that is used on the URL connection.
setEndpointPassword(String) - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Sets the un-encrypted password for authentication against the endpoint.
setEndpointUsername(String) - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Sets the username for authentication against the endpoint.
setFormFieldName(String) - Method in class com.addicticks.net.httpsupload.UploadItem
Sets the form field name into which the file is uploaded.
setNoValidate(HttpsURLConnection, String[]) - Static method in class com.addicticks.net.httpsupload.SSLUtils
Changes the HTTPS connection so that it will not validate the endpoint's certificates.
setNoValidate(HttpsURLConnection) - Static method in class com.addicticks.net.httpsupload.SSLUtils
Changes the HTTPS connection so that it will not validate the endpoint's certificates.
setProxyAddress(String) - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Sets the address of the proxy.
setProxyPort(int) - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Sets the port of the proxy.
setReadTimeoutMs(int) - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Gets the read timeout that is used on the URL connection.
setValidateCertificates(boolean) - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Should certificates from the endpoint be validated ? Default is true.
SSLUtils - Class in com.addicticks.net.httpsupload
SSL/TLS utilities.
stripHtml(String) - Static method in class com.addicticks.net.httpsupload.Utils
Strips a string from HTML markup.

T

toString() - Method in enum com.addicticks.net.httpsupload.Utils.HttpStatusCode
Gets a string representation, the numerical status code concatenated with the status code text.

U

upload(HttpsFileUploaderConfig, List<? extends UploadItem>, Map<String, String>, UploadProgress) - Static method in class com.addicticks.net.httpsupload.HttpsFileUploader
Uploads a file (or files) using POST method.
upload(HttpsFileUploaderConfig, File) - Static method in class com.addicticks.net.httpsupload.HttpsFileUploader
Uploads a file.
uploadEnd(long, long) - Method in interface com.addicticks.net.httpsupload.UploadProgress
Informs that the upload operation has completed.
UploadItem - Class in com.addicticks.net.httpsupload
Base class for an item to be uploaded.
UploadItem(String, String) - Constructor for class com.addicticks.net.httpsupload.UploadItem
 
UploadItemFile - Class in com.addicticks.net.httpsupload
File upload item.
UploadItemFile(File, String, String) - Constructor for class com.addicticks.net.httpsupload.UploadItemFile
Constructs a file upload specification.
UploadItemFile(File) - Constructor for class com.addicticks.net.httpsupload.UploadItemFile
Constructs a file upload specification.
UploadItemFile(File, String) - Constructor for class com.addicticks.net.httpsupload.UploadItemFile
Constructs a file upload specification.
UploadItemStream - Class in com.addicticks.net.httpsupload
Stream based upload item.
UploadItemStream(InputStream, String, String) - Constructor for class com.addicticks.net.httpsupload.UploadItemStream
Constructs a a stream based upload specification.
UploadProgress - Interface in com.addicticks.net.httpsupload
Gives information about upload progress.
uploadProgress(File, long, int) - Method in interface com.addicticks.net.httpsupload.UploadProgress
Informs about file upload progress for a given file or stream.
uploadStart(int, long) - Method in interface com.addicticks.net.httpsupload.UploadProgress
Informs that an upload operation is about to begin.
usesProxy() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderConfig
Does the connection go through a proxy server?
Utils - Class in com.addicticks.net.httpsupload
Utility methods.
Utils.HttpStatusCode - Enum in com.addicticks.net.httpsupload
HTTP Response Status code (with text explanation)

V

valueOf(String) - Static method in enum com.addicticks.net.httpsupload.Utils.HttpStatusCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.addicticks.net.httpsupload.Utils.HttpStatusCode
Returns an array containing the constants of this enum type, in the order they are declared.
C E F G H I R S T U V 
Skip navigation links

Copyright © 2016 Addicticks. All rights reserved.