Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAuthentication(Request.Builder) - Method in interface com.amilesend.client.connection.auth.AuthManager
-
Adds the authentication information to the request being built.
- addAuthentication(Request.Builder) - Method in class com.amilesend.client.connection.auth.NoOpAuthManager
- addInterceptor(Interceptor) - Method in class com.amilesend.client.connection.http.OkHttpClientBuilder
-
Adds an interceptor for the client.
- AnnotationBasedExclusionStrategy - Class in com.amilesend.client.parse.strategy
-
A custom
ExclusionStrategy
that is used to configure aGson
instance that excludes serialization and deserialization for any fields annotated with@GsonExclude
. - AnnotationBasedExclusionStrategy() - Constructor for class com.amilesend.client.parse.strategy.AnnotationBasedExclusionStrategy
- AnnotationBasedSerializationExclusionStrategy - Class in com.amilesend.client.parse.strategy
-
A custom
ExclusionStrategy
that is used to configure aGson
instance that excludes serialization only for any fields annotated with@GsonSerializeExclude
. - AnnotationBasedSerializationExclusionStrategy() - Constructor for class com.amilesend.client.parse.strategy.AnnotationBasedSerializationExclusionStrategy
- AuthException - Exception Class in com.amilesend.client.connection.auth
-
Defines the exception thrown due to issues with authorization.
- AuthException(String) - Constructor for exception class com.amilesend.client.connection.auth.AuthException
-
Creates a new
AuthException
. - AuthException(String, Throwable) - Constructor for exception class com.amilesend.client.connection.auth.AuthException
-
Creates a new
AuthException
. - AuthInfo - Interface in com.amilesend.client.connection.auth
-
Defines the interface for client-specific authorization information.
- authManager(AuthManager<?>) - Method in class com.amilesend.client.connection.Connection.ConnectionBuilder
-
The authorization manager used to authenticate and sign requests.
- authManager(AuthManager<?>) - Method in class com.amilesend.client.connection.ConnectionBuilder
- AuthManager<T> - Interface in com.amilesend.client.connection.auth
-
The interface that defines the manager that is responsible for obtaining correct authorization to interact with the Discogs API.
B
- baseUrl(String) - Method in class com.amilesend.client.connection.Connection.ConnectionBuilder
-
The base URL for the Graph API.
- baseUrl(String) - Method in class com.amilesend.client.connection.ConnectionBuilder
- BasicParser<T> - Class in com.amilesend.client.parse.parser
-
Defines a basic
GsonParser
implementation for single object type. - BasicParser(Class<T>) - Constructor for class com.amilesend.client.parse.parser.BasicParser
- build() - Method in class com.amilesend.client.connection.Connection.ConnectionBuilder
- build() - Method in class com.amilesend.client.connection.ConnectionBuilder
- build() - Method in class com.amilesend.client.connection.DefaultConnectionBuilder
- build() - Method in class com.amilesend.client.connection.file.LogProgressCallback.LogProgressCallbackBuilder
- build() - Method in class com.amilesend.client.connection.file.ProgressReportingRequestBody.Builder
-
Builds a new
RequestBody
that tracks the transfer progress for multipart form-data transfer. - build() - Method in class com.amilesend.client.connection.file.ProgressReportingRequestBody.MultiPartBuilder
-
Builds a new
RequestBody
that tracks the transfer progress for multipart form-data transfer. - build() - Method in class com.amilesend.client.connection.file.TransferFileWriter.TransferFileWriterBuilder
- build() - Method in class com.amilesend.client.connection.http.OkHttpClientBuilder
-
Builds a new
OkHttpClient
instance. - build() - Method in class com.amilesend.client.crypto.CryptoHelperFactory.CryptoHelperFactoryBuilder
- builder() - Static method in class com.amilesend.client.connection.Connection
- builder() - Static method in class com.amilesend.client.connection.file.LogProgressCallback
- builder() - Static method in class com.amilesend.client.connection.file.ProgressReportingRequestBody
-
Returns a new
ProgressReportingRequestBody.Builder
instance. - builder() - Static method in class com.amilesend.client.connection.file.TransferFileWriter
- builder() - Static method in class com.amilesend.client.crypto.CryptoHelperFactory
- Builder() - Constructor for class com.amilesend.client.connection.file.ProgressReportingRequestBody.Builder
C
- callback(TransferProgressCallback) - Method in class com.amilesend.client.connection.file.TransferFileWriter.TransferFileWriterBuilder
- callback(TransferProgressCallback) - Method in class com.amilesend.client.connection.file.ProgressReportingRequestBody.Builder
-
The callback listener.
- callback(TransferProgressCallback) - Method in class com.amilesend.client.connection.file.ProgressReportingRequestBody.MultiPartBuilder
-
The callback listener.
- chainedCallback(TransferProgressCallback) - Method in class com.amilesend.client.connection.file.LogProgressCallback.LogProgressCallbackBuilder
- clear(T) - Method in class com.amilesend.client.parse.GsonFactoryBase
-
Clears cached instances for the given connection.
- clearAll() - Method in class com.amilesend.client.parse.GsonFactoryBase
-
Clears all cached instances.
- com.amilesend.client.connection - package com.amilesend.client.connection
- com.amilesend.client.connection.auth - package com.amilesend.client.connection.auth
- com.amilesend.client.connection.file - package com.amilesend.client.connection.file
- com.amilesend.client.connection.http - package com.amilesend.client.connection.http
- com.amilesend.client.crypto - package com.amilesend.client.crypto
- com.amilesend.client.parse - package com.amilesend.client.parse
- com.amilesend.client.parse.parser - package com.amilesend.client.parse.parser
- com.amilesend.client.parse.strategy - package com.amilesend.client.parse.strategy
- Connection<G> - Class in com.amilesend.client.connection
-
Wraps an
OkHttpClient
that manages parsing responses to corresponding POJO types. - Connection.ConnectionBuilder<G,
C, - Class in com.amilesend.client.connectionB> - ConnectionBuilder<B,
G, - Class in com.amilesend.client.connectionC> -
Builder to construct new default instances of a
Connection
. - ConnectionBuilder() - Constructor for class com.amilesend.client.connection.Connection.ConnectionBuilder
- ConnectionBuilder() - Constructor for class com.amilesend.client.connection.ConnectionBuilder
- ConnectionException - Exception Class in com.amilesend.client.connection
-
Defines the exception thrown from
Connection
. - ConnectionException(String) - Constructor for exception class com.amilesend.client.connection.ConnectionException
-
Creates a new
TvMazeConnectionException
. - ConnectionException(String, Throwable) - Constructor for exception class com.amilesend.client.connection.ConnectionException
-
Creates a new
TvMazeConnectionException
. - connectTimeout(Duration) - Method in class com.amilesend.client.connection.http.OkHttpClientBuilder
-
Sets the connection timeout for the HTTP client.
- contentType() - Method in class com.amilesend.client.connection.file.ProgressReportingRequestBody
- contentType(String) - Method in class com.amilesend.client.connection.file.ProgressReportingRequestBody.Builder
-
The content type.
- contentType(String) - Method in class com.amilesend.client.connection.file.ProgressReportingRequestBody.MultiPartBuilder
-
The content type.
- CryptoHelper - Class in com.amilesend.client.crypto
-
Helper that encrypts and decrypts content for the configured cipher algorithm and key.
- CryptoHelper(String, SecretKey) - Constructor for class com.amilesend.client.crypto.CryptoHelper
-
Creates a new
CryptoHelper
instance. - CryptoHelperException - Exception Class in com.amilesend.client.crypto
-
Defines the exception thrown from
CryptoHelper
andCryptoHelperFactory
. - CryptoHelperException(String) - Constructor for exception class com.amilesend.client.crypto.CryptoHelperException
-
Creates a new
CryptoHelperException
. - CryptoHelperException(String, Throwable) - Constructor for exception class com.amilesend.client.crypto.CryptoHelperException
-
Creates a new
CryptoHelperException
. - CryptoHelperFactory - Class in com.amilesend.client.crypto
-
Factory used to vend a configured
CryptoHelper
instance. - CryptoHelperFactory.CryptoHelperFactoryBuilder - Class in com.amilesend.client.crypto
D
- decrypt(EncryptedEnvelope) - Method in class com.amilesend.client.crypto.CryptoHelper
-
Decrypts the given
EncryptedEnvelope
and returns the contents as a byte array. - DefaultConnectionBuilder - Class in com.amilesend.client.connection
- DefaultConnectionBuilder() - Constructor for class com.amilesend.client.connection.DefaultConnectionBuilder
- destination(String) - Method in class com.amilesend.client.connection.file.ProgressReportingRequestBody.Builder
-
The destination descriptor (i.e., the name of the service).
- destination(String) - Method in class com.amilesend.client.connection.file.ProgressReportingRequestBody.MultiPartBuilder
-
The destination descriptor (i.e., the name of the service).
- DOWNLOAD - Enum constant in enum com.amilesend.client.connection.file.LogProgressCallback.TransferType
-
Indicates that the transfer is for a file download.
E
- encrypt(byte[], String) - Method in class com.amilesend.client.crypto.CryptoHelper
-
Encrypts the given bytes and returns an
EncryptedEnvelope
. - EncryptedEnvelope - Class in com.amilesend.client.crypto
-
The envelope that encapsulates encrypted content that is used to persist to the file system.
- EncryptedEnvelope(byte[], byte[], String) - Constructor for class com.amilesend.client.crypto.EncryptedEnvelope
-
Creates a new
EncryptedEnvelope
instance. - equals(Object) - Method in class com.amilesend.client.connection.auth.NoAuthInfo
- equals(Object) - Method in class com.amilesend.client.crypto.EncryptedEnvelope
- execute(Request) - Method in class com.amilesend.client.connection.Connection
-
Executes the given
Request
and returns the associated HTTP response code. - execute(Request, GsonParser<T>) - Method in class com.amilesend.client.connection.Connection
-
Executes the given
Request
and parses the JSON-formatted response with givenGsonParser
.
F
- fetchMimeTypeFromFile(File) - Static method in class com.amilesend.client.connection.file.TransferFileUtil
-
Fetches the mime type for the given
file
. - fetchMimeTypeFromFile(Path) - Static method in class com.amilesend.client.connection.file.TransferFileUtil
-
Fetches the mime type for the given
filePath
. - fieldName(String) - Method in class com.amilesend.client.connection.file.ProgressReportingRequestBody.MultiPartBuilder
-
The attribute field name for the form data in the request.
- file(Path) - Method in class com.amilesend.client.connection.file.ProgressReportingRequestBody.Builder
-
The file to upload.
- file(Path) - Method in class com.amilesend.client.connection.file.ProgressReportingRequestBody.MultiPartBuilder
-
The file to upload.
- formatPrefix(String, String) - Static method in class com.amilesend.client.connection.file.LogProgressCallback
-
Helper method to format the logging prefix to use.
G
- getAuthInfo() - Method in interface com.amilesend.client.connection.auth.AuthManager
-
Retrieves the current authentication info.
- getAuthInfo() - Method in class com.amilesend.client.connection.auth.NoOpAuthManager
- getAuthManager() - Method in class com.amilesend.client.connection.Connection
-
The authorization manager used to authenticate and sign requests.
- getBaseUrl() - Method in class com.amilesend.client.connection.Connection
-
The base URL for the Graph API.
- getDescription() - Method in class com.amilesend.client.crypto.EncryptedEnvelope
-
The description of the contents.
- getEncryptedContent() - Method in class com.amilesend.client.crypto.EncryptedEnvelope
-
The encrypted bytes.
- getGsonFactory() - Method in class com.amilesend.client.connection.Connection
-
The Gson factory used to create GSON instance that marshals request and responses to/from JSON.
- getHttpClient() - Method in class com.amilesend.client.connection.Connection
-
The underlying http client.
- getInstance(T) - Method in class com.amilesend.client.parse.GsonFactoryBase
-
Creates the configured
Gson
instance. - getInstanceForPrettyPrinting(T) - Method in class com.amilesend.client.parse.GsonFactoryBase
-
Gets the configured
Gson
instance that provides pretty-printed formatted JSON (i.e., useful for testing and/or debugging). - getIv() - Method in class com.amilesend.client.crypto.EncryptedEnvelope
-
The associated initialization vector.
- getLogPrefix() - Method in enum com.amilesend.client.connection.file.LogProgressCallback.TransferType
-
The type formatted for log records.
- getRetryAfterSeconds() - Method in exception class com.amilesend.client.connection.ThrottledException
-
The time in seconds that the request can be retried.
- getSecretKey(String, char[]) - Method in class com.amilesend.client.crypto.KeyStoreHelper
-
Gets the key with the given
alias
and associatedkeyPassword
from the key store. - getUserAgent() - Method in class com.amilesend.client.connection.Connection
-
The user agent to include in request headers.
- GsonExclude - Annotation Type in com.amilesend.client.parse.strategy
-
Annotation to indicate that a field should be excluded from both Gson serialization and deserialization.
- gsonFactory(G) - Method in class com.amilesend.client.connection.ConnectionBuilder
- gsonFactory(G) - Method in class com.amilesend.client.connection.Connection.ConnectionBuilder
-
The Gson factory used to create GSON instance that marshals request and responses to/from JSON.
- GsonFactoryBase<T> - Class in com.amilesend.client.parse
-
Factory that vends new pre-configured
Gson
instances. - GsonFactoryBase() - Constructor for class com.amilesend.client.parse.GsonFactoryBase
- GsonParser<T> - Interface in com.amilesend.client.parse.parser
-
Defines a parser that deserializes a JSON-formatted source input stream to the defined POJO type.
- GsonSerializeExclude - Annotation Type in com.amilesend.client.parse.strategy
-
Annotation to indicate that a field should be excluded from both Gson serialization only.
H
- hashCode() - Method in class com.amilesend.client.connection.auth.NoAuthInfo
- hashCode() - Method in class com.amilesend.client.crypto.EncryptedEnvelope
- hostnameVerifier(HostnameVerifier) - Method in class com.amilesend.client.connection.http.OkHttpClientBuilder
-
Sets the hostname verifier to use with the HTTP client.
- httpClient(OkHttpClient) - Method in class com.amilesend.client.connection.Connection.ConnectionBuilder
-
The underlying http client.
- httpClient(OkHttpClient) - Method in class com.amilesend.client.connection.ConnectionBuilder
I
- isAuthenticated() - Method in interface com.amilesend.client.connection.auth.AuthManager
-
Gets the authentication state.
- isAuthenticated() - Method in class com.amilesend.client.connection.auth.NoOpAuthManager
- isForTest(boolean) - Method in class com.amilesend.client.connection.http.OkHttpClientBuilder
-
Sets the flag to allow for non-SSL/TLS based requests used for testing.
- isGzipContentEncodingEnabled() - Method in class com.amilesend.client.connection.Connection
- isGzipContentEncodingEnabled(boolean) - Method in class com.amilesend.client.connection.Connection.ConnectionBuilder
- isGzipContentEncodingEnabled(boolean) - Method in class com.amilesend.client.connection.ConnectionBuilder
- isRedirectsAllowed(boolean) - Method in class com.amilesend.client.connection.http.OkHttpClientBuilder
-
Sets the flag to allow for automatic URL redirects when responses return 300-based HTTP responses.
J
- JSON_CONTENT_TYPE - Static variable in class com.amilesend.client.connection.Connection
- JSON_MEDIA_TYPE - Static variable in class com.amilesend.client.connection.Connection
K
- keyAlias(String) - Method in class com.amilesend.client.crypto.CryptoHelperFactory.CryptoHelperFactoryBuilder
-
The key alias that is stored in the keystore.
- keyPassword(char[]) - Method in class com.amilesend.client.crypto.CryptoHelperFactory.CryptoHelperFactoryBuilder
-
The password for the keystore.
- keyStoreHelper(KeyStoreHelper) - Method in class com.amilesend.client.crypto.CryptoHelperFactory.CryptoHelperFactoryBuilder
-
The key store helper used to store/retrieve keys.
- KeyStoreHelper - Class in com.amilesend.client.crypto
-
Helper that manages storage of symmetric keys to a key store file.
- KeyStoreHelper(Path, char[]) - Constructor for class com.amilesend.client.crypto.KeyStoreHelper
-
Creates a new
KeyStoreHelper
instance. - KeyStoreHelperException - Exception Class in com.amilesend.client.crypto
-
Defines the exception thrown from
KeyStoreHelper
. - KeyStoreHelperException(String) - Constructor for exception class com.amilesend.client.crypto.KeyStoreHelperException
-
Creates a new
KeyStoreHelperException
. - KeyStoreHelperException(String, Throwable) - Constructor for exception class com.amilesend.client.crypto.KeyStoreHelperException
-
Creates a new
KeyStoreHelperException
.
L
- ListParser<T> - Class in com.amilesend.client.parse.parser
-
Defines a
GsonParser
implementation for a list of objects. - ListParser(Class<T>) - Constructor for class com.amilesend.client.parse.parser.ListParser
-
Creates a new
ListParser
for the given class type. - loggingLevel(Level) - Method in class com.amilesend.client.connection.file.LogProgressCallback.LogProgressCallbackBuilder
- LogProgressCallback - Class in com.amilesend.client.connection.file
-
A log-based implementation of
TransferProgressCallback
that logs transfer progress. - LogProgressCallback.LogProgressCallbackBuilder - Class in com.amilesend.client.connection.file
- LogProgressCallback.TransferType - Enum in com.amilesend.client.connection.file
-
Describes that transfer type used for logging progress.
M
- MapParser<K,
V> - Class in com.amilesend.client.parse.parser -
Defines a
GsonParser
implementation for a map of key value pairs. - MapParser(Class<K>, Class<V>) - Constructor for class com.amilesend.client.parse.parser.MapParser
-
Creates a new
ListParser
for the given class type. - MAX_BASE_URL_STR_LENGTH - Static variable in class com.amilesend.client.connection.ConnectionBuilder
-
The max length of the base URL.
- multiPartBuilder() - Static method in class com.amilesend.client.connection.file.ProgressReportingRequestBody
-
Returns a new
ProgressReportingRequestBody.MultiPartBuilder
instance.
N
- newInstance() - Method in class com.amilesend.client.crypto.CryptoHelperFactory
-
Creates a new
CryptoHelper
instance. - newRequestBuilder() - Method in class com.amilesend.client.connection.Connection
-
Creates a new
Request.Builder
with pre-configured headers for request that expect a JSON-formatted response body. - NoAuthInfo - Class in com.amilesend.client.connection.auth
-
Defines having no authorization information.
- NoAuthInfo() - Constructor for class com.amilesend.client.connection.auth.NoAuthInfo
- NoOpAuthManager - Class in com.amilesend.client.connection.auth
-
Defines the auth manager for non-authorized/signed requests.
- NoOpAuthManager() - Constructor for class com.amilesend.client.connection.auth.NoOpAuthManager
O
- OkHttpClientBuilder - Class in com.amilesend.client.connection.http
-
Utility to configure and build a
OkHttpClient
with the option of default configuration for this client. - OkHttpClientBuilder() - Constructor for class com.amilesend.client.connection.http.OkHttpClientBuilder
- onComplete(long) - Method in class com.amilesend.client.connection.file.LogProgressCallback
- onComplete(long) - Method in interface com.amilesend.client.connection.file.TransferProgressCallback
-
Callback to notify consumers of a completed transfer.
- onFailure(Throwable) - Method in class com.amilesend.client.connection.file.LogProgressCallback
- onFailure(Throwable) - Method in interface com.amilesend.client.connection.file.TransferProgressCallback
-
Callback to notify consumers of a failure during a transfer.
- onUpdate(long, long) - Method in class com.amilesend.client.connection.file.LogProgressCallback
- onUpdate(long, long) - Method in interface com.amilesend.client.connection.file.TransferProgressCallback
-
Callback to notify consumers of the current amount of bytes that have transferred.
- output(Path) - Method in class com.amilesend.client.connection.file.TransferFileWriter.TransferFileWriterBuilder
-
The path of the file to download and persist the contents to.
P
- parse(Gson, byte[]) - Method in interface com.amilesend.client.parse.parser.GsonParser
-
Deserializes a JSON-formatted byte array to the defined POJO type.
- parse(Gson, InputStream) - Method in class com.amilesend.client.parse.parser.BasicParser
- parse(Gson, InputStream) - Method in class com.amilesend.client.parse.parser.ListParser
- parse(Gson, InputStream) - Method in class com.amilesend.client.parse.parser.MapParser
- parse(Gson, InputStream) - Method in interface com.amilesend.client.parse.parser.GsonParser
-
Deserializes a JSON-formatted input stream to the defined POJO type.
- prefix(String) - Method in class com.amilesend.client.connection.file.LogProgressCallback.LogProgressCallbackBuilder
- ProgressReportingRequestBody - Class in com.amilesend.client.connection.file
-
A customized implementation of
RequestBody
that wraps an existing request body and uses a custom sink track transfer progress. - ProgressReportingRequestBody.Builder - Class in com.amilesend.client.connection.file
-
The builder used to construct new
ProgressReportingRequestBody
instances for uploads. - ProgressReportingRequestBody.MultiPartBuilder - Class in com.amilesend.client.connection.file
-
The builder used to construct new
ProgressReportingRequestBody
instances for multipart uploads. - proxy(Proxy, String, String) - Method in class com.amilesend.client.connection.http.OkHttpClientBuilder
-
Sets the proxy and associated username plus password to use with the HTTP client.
- proxy(Proxy, Authenticator) - Method in class com.amilesend.client.connection.http.OkHttpClientBuilder
-
Sets the proxy and associated authenticator to use with the HTTP client.
R
- readTimeout(Duration) - Method in class com.amilesend.client.connection.http.OkHttpClientBuilder
-
Sets the read timeout for the HTTP client.
- RequestException - Exception Class in com.amilesend.client.connection
-
Defines the exception thrown from
Connection
that is specific to an issue with a request. - RequestException(String) - Constructor for exception class com.amilesend.client.connection.RequestException
-
Creates a new
RequestException
. - RequestException(String, Throwable) - Constructor for exception class com.amilesend.client.connection.RequestException
-
Creates a new
RequestException
. - ResponseException - Exception Class in com.amilesend.client.connection
-
Defines the exception thrown from
Connection
that is specific to an issue with a response. - ResponseException(String) - Constructor for exception class com.amilesend.client.connection.ResponseException
-
Creates a new
ResponseException
. - ResponseException(String, Throwable) - Constructor for exception class com.amilesend.client.connection.ResponseException
-
Creates a new
ResponseException
. - ResponseParseException - Exception Class in com.amilesend.client.connection
-
Defines the exception thrown from
Connection
that is specific to an issue with parsing a response. - ResponseParseException(String, Throwable) - Constructor for exception class com.amilesend.client.connection.ResponseParseException
-
Creates a new
ResponseParseException
.
S
- saveSecretKey(String, SecretKey, char[]) - Method in class com.amilesend.client.crypto.KeyStoreHelper
-
Saves the given
key
to the key store. - setDescription(String) - Method in class com.amilesend.client.crypto.EncryptedEnvelope
-
The description of the contents.
- setEncryptedContent(byte[]) - Method in class com.amilesend.client.crypto.EncryptedEnvelope
-
The encrypted bytes.
- setIv(byte[]) - Method in class com.amilesend.client.crypto.EncryptedEnvelope
-
The associated initialization vector.
- shouldSkipClass(Class<?>) - Method in class com.amilesend.client.parse.strategy.AnnotationBasedExclusionStrategy
- shouldSkipClass(Class<?>) - Method in class com.amilesend.client.parse.strategy.AnnotationBasedSerializationExclusionStrategy
- shouldSkipField(FieldAttributes) - Method in class com.amilesend.client.parse.strategy.AnnotationBasedExclusionStrategy
- shouldSkipField(FieldAttributes) - Method in class com.amilesend.client.parse.strategy.AnnotationBasedSerializationExclusionStrategy
T
- ThrottledException - Exception Class in com.amilesend.client.connection
-
Defines the exception thrown from
Connection
when a request is throttled. - ThrottledException(String, Long) - Constructor for exception class com.amilesend.client.connection.ThrottledException
-
Creates a new
ThrottledException
. - toString() - Method in class com.amilesend.client.connection.Connection.ConnectionBuilder
- toString() - Method in class com.amilesend.client.connection.file.LogProgressCallback.LogProgressCallbackBuilder
- toString() - Method in class com.amilesend.client.connection.file.TransferFileWriter.TransferFileWriterBuilder
- toString() - Method in class com.amilesend.client.crypto.CryptoHelperFactory.CryptoHelperFactoryBuilder
- toString() - Method in class com.amilesend.client.crypto.EncryptedEnvelope
- TrackingSink - Class in com.amilesend.client.connection.file
-
Tracking sink to monitor the amount of bytes transferred.
- TrackingSink(Sink, TransferProgressCallback, long) - Constructor for class com.amilesend.client.connection.file.TrackingSink
-
Creates a new
TrackingSink
instance. - TransferFileUtil - Class in com.amilesend.client.connection.file
-
Shared utility class used by transfer logic.
- TransferFileWriter - Class in com.amilesend.client.connection.file
-
A file writer utility used while downloading files that reports transfer progress to the configured
TransferProgressCallback
. - TransferFileWriter.TransferFileWriterBuilder - Class in com.amilesend.client.connection.file
- TransferProgressCallback - Interface in com.amilesend.client.connection.file
-
The interface that is invoked during file upload/download transfers that enables client consumers to inspect the progress of the transfer.
- transferType(LogProgressCallback.TransferType) - Method in class com.amilesend.client.connection.file.LogProgressCallback.LogProgressCallbackBuilder
- trustManager(X509TrustManager) - Method in class com.amilesend.client.connection.http.OkHttpClientBuilder
-
Sets the SSL/TLS trust manager to use with the HTTP client.
U
- UNDEFINED - Enum constant in enum com.amilesend.client.connection.file.LogProgressCallback.TransferType
-
Used when the type is not defined and defaults to a generic "Transfer".
- updateFrequency(Duration) - Method in class com.amilesend.client.connection.file.LogProgressCallback.LogProgressCallbackBuilder
- UPLOAD - Enum constant in enum com.amilesend.client.connection.file.LogProgressCallback.TransferType
-
Indicates that the transfer is for a file upload.
- userAgent(String) - Method in class com.amilesend.client.connection.Connection.ConnectionBuilder
-
The user agent to include in request headers.
- userAgent(String) - Method in class com.amilesend.client.connection.ConnectionBuilder
V
- valueOf(String) - Static method in enum com.amilesend.client.connection.file.LogProgressCallback.TransferType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.amilesend.client.connection.file.LogProgressCallback.TransferType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- write(BufferedSource, long) - Method in class com.amilesend.client.connection.file.TransferFileWriter
-
Writes the given
source
(streamed response body) to the configuredTransferFileWriter.output
. - write(Buffer, long) - Method in class com.amilesend.client.connection.file.TrackingSink
- writeTimeout(Duration) - Method in class com.amilesend.client.connection.http.OkHttpClientBuilder
-
Sets the write timeout for the HTTP client.
- writeTo(BufferedSink) - Method in class com.amilesend.client.connection.file.ProgressReportingRequestBody
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form