Skip navigation links
Version 0.9.2
C E F G H I R S U 

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.
FileUploadProgress - Interface in com.addicticks.net.httpsupload
Gives information about file upload progress.

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.
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.HttpsFileUploader.UploadFileSpec
 
getHintFilename() - Method in class com.addicticks.net.httpsupload.HttpsFileUploader.UploadFileSpec
 
getHttpStatusCode() - Method in class com.addicticks.net.httpsupload.HttpsFileUploaderResult
Gets the HTTP response status code.
getMimeType() - Method in class com.addicticks.net.httpsupload.HttpsFileUploader.UploadFileSpec
 
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.
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).
HttpsFileUploader.UploadFileSpec - Class in com.addicticks.net.httpsupload
Specification for a file to be uploaded.
HttpsFileUploaderConfig - Class in com.addicticks.net.httpsupload
Encapsulation of 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.
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.
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 and replaces <br>,{@code

U

upload(HttpsFileUploaderConfig, Map<String, HttpsFileUploader.UploadFileSpec>, Map<String, String>, FileUploadProgress) - 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.FileUploadProgress
Informs that the upload operation has completed.
UploadFileSpec(File) - Constructor for class com.addicticks.net.httpsupload.HttpsFileUploader.UploadFileSpec
Constructs a file upload specification.
UploadFileSpec(File, String) - Constructor for class com.addicticks.net.httpsupload.HttpsFileUploader.UploadFileSpec
Constructs a file upload specification.
UploadFileSpec(File, String, String) - Constructor for class com.addicticks.net.httpsupload.HttpsFileUploader.UploadFileSpec
Constructs a file upload specification.
uploadProgress(File, long, int) - Method in interface com.addicticks.net.httpsupload.FileUploadProgress
Informs about file upload progress for a given file.
uploadStart(int, long) - Method in interface com.addicticks.net.httpsupload.FileUploadProgress
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
 
C E F G H I R S U 
Skip navigation links

Copyright © 2015 Addicticks. All rights reserved.