Package | Description |
---|---|
com.ibm.cloud.objectstorage.http.timers |
Classes for the request timeout and client execution timeout features.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AmazonClientException.isRetryable()
Returns a hint as to whether it makes sense to retry upon this exception.
|
void |
AmazonWebServiceClient.makeImmutable()
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TypeAdapter<Source,Destination>
Adapter interface to convert one type to another
|
Modifier and Type | Class and Description |
---|---|
class |
BasicJsonConfigLoader
Class to load a json style config or credentials file.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonKeyConstants
Keys the Java SDK uses in the JSON credentials and config files.
|
class |
JsonStaticCredentialsProvider
Serves credentials defined in a
BasicJsonCredentials . |
Modifier and Type | Class and Description |
---|---|
class |
AllProfiles
Simple wrapper around a map of profiles.
|
class |
AwsProfileNameLoader
Loads profile name from the usual places or uses the default profile name.
|
class |
BasicProfile
Represents a CLI style config profile with a name and simple properties.
|
class |
BasicProfileConfigFileLoader
Basic profile config loader to load config file from
AwsProfileFileLocationProvider.DEFAULT_CONFIG_LOCATION_PROVIDER . |
class |
BasicProfileConfigLoader
Class to load a CLI style config or credentials file.
|
class |
ProfileAssumeRoleCredentialsProvider
Serves assume role credentials defined in a
BasicProfile . |
class |
ProfileKeyConstants
Keys the Java SDK uses in the CLI credentials and config files.
|
class |
ProfileStaticCredentialsProvider
Serves credentials defined in a
BasicProfile . |
Modifier and Type | Class and Description |
---|---|
class |
STSProfileCredentialsServiceLoader
Loads
com.ibm.cloud.objectstorage.services.securitytoken.internal.STSProfileCredentialsService
from the STS SDK module, if the module is on the current classpath. |
Modifier and Type | Method and Description |
---|---|
static InputStream |
ProgressInputStream.inputStreamForRequest(InputStream is,
ProgressListener progressListener) |
Modifier and Type | Interface and Description |
---|---|
interface |
IRequestHandler2
Interface for
RequestHandler2 . |
Modifier and Type | Class and Description |
---|---|
class |
IdleConnectionReaper
Daemon thread to periodically check connection pools for idle connections.
|
class |
JsonErrorResponseHandler |
class |
JsonResponseHandler<T>
Default implementation of HttpResponseHandler that handles a successful response from an AWS
service and unmarshalls the result using a JSON unmarshaller.
|
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
AmazonHttpClient.requestLog
Logger providing detailed information on requests/responses.
|
Modifier and Type | Method and Description |
---|---|
<T> Response<T> |
AmazonHttpClient.execute(Request<?> request,
HttpResponseHandler<AmazonWebServiceResponse<T>> responseHandler,
HttpResponseHandler<AmazonServiceException> errorResponseHandler,
ExecutionContext executionContext,
RequestConfig requestConfig) |
Modifier and Type | Class and Description |
---|---|
class |
SdkProxyRoutePlanner
SdkProxyRoutePlanner delegates a Proxy Route Planner from the settings instead of the
system properties.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpContextUtils |
Modifier and Type | Class and Description |
---|---|
class |
HttpClientSettings
A convienient class that expose all settings in
ClientConfiguration and other internal settings to the
underlying http client. |
Modifier and Type | Class and Description |
---|---|
class |
TimeoutThreadPoolBuilder
Utility class to build the
ScheduledThreadPoolExecutor for the request timeout and client
execution timeout features |
Modifier and Type | Interface and Description |
---|---|
interface |
ClientExecutionAbortTask
Task to be scheduled by
ClientExecutionTimer |
class |
ClientExecutionAbortTaskImpl
Implementation of
ClientExecutionAbortTask that interrupts the caller thread and aborts
any HTTP request when triggered |
interface |
ClientExecutionAbortTrackerTask |
class |
ClientExecutionAbortTrackerTaskImpl
Keeps track of the scheduled
ClientExecutionAbortTask and the associated Future |
class |
ClientExecutionTimer
Represents a timer to enforce a timeout on the total client execution time.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HttpRequestAbortTask
Task to be scheduled by
HttpRequestTimer |
class |
HttpRequestAbortTaskImpl
Implementation of
HttpRequestAbortTask that aborts the tracking HttpRequestBase
when triggered |
interface |
HttpRequestAbortTaskTracker
Returned by
HttpRequestTimer to track a scheduled timer task. |
class |
HttpRequestAbortTaskTrackerImpl
Keeps track of the scheduled
HttpRequestAbortTask and the associated Future |
class |
HttpRequestTimer
Represents a timer class to enforce HTTP request timeouts.
|
Modifier and Type | Class and Description |
---|---|
class |
AmazonWebServiceRequestAdapter
Adapts the configuration present in
AmazonWebServiceRequest to RequestConfig . |
class |
ConnectionUtils |
class |
CredentialsEndpointProvider
Abstract class to return an endpoint URI from which the credentials can be loaded.
|
class |
EC2ResourceFetcher |
class |
ExceptionUtils
Utility class for working with exceptions.
|
class |
InstanceMetadataServiceResourceFetcher
Fetch resources from EC2 Instance Metadata Service.
|
class |
SdkRequestRetryHeaderProvider
Provides SDK request header "amz-sdk-request"
|
class |
TokenBucket |
Modifier and Type | Class and Description |
---|---|
class |
NoOpSignerProvider |
Modifier and Type | Class and Description |
---|---|
class |
CompositeErrorCodeParser |
interface |
ErrorCodeParser |
class |
IonErrorCodeParser |
class |
JsonErrorCodeParser |
Modifier and Type | Class and Description |
---|---|
class |
ClientSideMonitoringRequestHandler
Client Side Monitoring Request Handler to generate monitoring events and send them to agent listener.
|
Modifier and Type | Class and Description |
---|---|
class |
PartitionMetadataProvider
Region metadata provider based on partitions.
|
class |
PartitionsLoader
Loads all the partition files into memory.
|
Modifier and Type | Class and Description |
---|---|
class |
AwsDirectoryBasePathProvider
Base provider for all location providers that source a file from the ~/.aws directory.
|
interface |
AwsProfileFileLocationProvider
Provides the location of both the AWS Shared credentials file (~/.aws/credentials) or the AWS
Shared config file (~/.aws/config).
|
class |
AwsProfileFileLocationProviderChain
Delegates to a chain of
AwsProfileFileLocationProvider . |
Modifier and Type | Class and Description |
---|---|
class |
ConfigEnvVarOverrideLocationProvider
If the environment variable is set then we source
the config file from the location specified.
|
class |
SharedConfigDefaultLocationProvider
Checks if there is a config file present at the default location (~/.aws/config).
|
Modifier and Type | Class and Description |
---|---|
class |
CredentialsDefaultLocationProvider
Load shared credentials file from the default location (~/.aws/credentials).
|
class |
CredentialsEnvVarOverrideLocationProvider
If environment variable is set then the
shared credentials file is source from it's location.
|
class |
CredentialsLegacyConfigLocationProvider
Treats the CLI config file as the source of credentials.
|
class |
IBMJsonCredentialsDefaultLocationProvider
Load shared credentials file from the default location (~/.bluemix/cos_credentials).
|
class |
IBMJsonCredentialsEnvVarOverrideLocationProvider
If environment variable is set then the
shared credentials file is source from it's location.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonContent
Simple struct like class to hold both the raw json string content and it's parsed JsonNode
|
class |
SdkJsonGenerator
Thin wrapper around Jackson's JSON generator.
|
Modifier and Type | Interface and Description |
---|---|
interface |
EmptyBodyJsonMarshaller
Interface to marshall an empty request body according to the JSON protocol specification.
|
class |
HeaderMarshallers |
interface |
JsonMarshaller<T>
Interface to marshall data according to the JSON protocol specification.
|
class |
JsonMarshallerContext
Dependencies needed by implementations of
JsonMarshaller . |
class |
JsonProtocolMarshaller<OrigRequest>
Implementation of
ProtocolMarshaller for JSON based services. |
class |
MarshallerRegistry |
class |
QueryParamMarshallers |
class |
SimpleTypeJsonMarshallers |
class |
SimpleTypePathMarshallers |
class |
ValueToStringConverters
Converts various types to Strings.
|
Modifier and Type | Class and Description |
---|---|
class |
InMemoryRegionsProvider
Region metadata provider that holds all data in memory and returns data
from them.
|
class |
LegacyRegionXmlLoadUtils
Deprecated.
|
class |
LegacyRegionXmlMetadataBuilder
A region metadata builder that loads the data by looking at all the
legacy metadata locations.
|
interface |
RegionImpl
Interface for an region implementation.
|
interface |
RegionMetadataProvider |
Modifier and Type | Class and Description |
---|---|
class |
ClockSkewAdjuster
Applies heuristics to suggest a clock skew adjustment that should be applied to future requests based on a given service error.
|
class |
RetryPolicyAdapter
Adapts a legacy
RetryPolicy to the new RetryPolicy . |
Constructor and Description |
---|
RetryPolicy(RetryPolicy.RetryCondition retryCondition,
RetryPolicy.BackoffStrategy backoffStrategy,
int maxErrorRetry,
boolean honorMaxErrorRetryInClientConfig,
boolean honorDefaultMaxErrorRetryInRetryMode,
boolean honorBackoffStrategyInRetryMode) |
Modifier and Type | Class and Description |
---|---|
class |
CredentialsEndpointRetryParameters
Parameters that are used in
CredentialsEndpointRetryPolicy . |
interface |
CredentialsEndpointRetryPolicy
Custom retry policy for credentials providers (
InstanceProfileCredentialsProvider ,
ContainerCredentialsProvider ) that retrieve credentials from a local endpoint in EC2 host. |
class |
MaxAttemptsResolver
Resolves the max attempts for retry in the following order:
Environment Variable
Java System Properties
Credential config file at the default location (~/.aws/config) shared by all AWS SDKs and the AWS CLI
|
class |
RetryModeResolver
Resolves the retryMode in the following order:
Environment Variable
Java System Properties
Credential config file at the default location (~/.aws/config) shared by all AWS SDKs and the AWS CLI
|
Modifier and Type | Class and Description |
---|---|
static class |
RetryPolicyContext.Builder |
Modifier and Type | Method and Description |
---|---|
static RetryPolicyContext.Builder |
RetryPolicyContext.builder() |
Modifier and Type | Class and Description |
---|---|
class |
RequestCopyUtils |
class |
S3AbortableInputStream
Does EOS detection for objects returned by S3.
|
interface |
UploadObjectStrategy<RequestT,ResponseT>
Interface to define behavior to plug into template for uploading an object in
AmazonS3Client . |
Modifier and Type | Method and Description |
---|---|
static long |
ServiceUtils.getPartSize(GetObjectRequest getObjectRequest,
AmazonS3 s3,
int partNumber)
Returns the part size of the part
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDownloadCallable
Abstract callable used for downloading objects using
TransferManager . |
class |
CompleteMultipartDownload
Helper class to merge all the individual part files into a destinationFile.
|
class |
DownloadS3ObjectCallable
Helper class to get a partial objects from s3, write the data to the specified position
and return the final position of the file.
|
class |
PreparedDownloadContext |
class |
PresignedUrlDownloadImpl
Implementation for
PresignedUrlDownload interface. |
class |
PresignedUrlRetryableDownloadTaskImpl |
class |
PresignUrlDownloadCallable |
interface |
TransferStateChangeListener
Listener for transfer state changes.
|
Modifier and Type | Class and Description |
---|---|
class |
HeadBucketFunction |
class |
HeadObjectFunction |
Constructor and Description |
---|
AmazonS3Waiters(AmazonS3 client)
Constructs a new AmazonS3Waiters with the given client
|
Modifier and Type | Interface and Description |
---|---|
interface |
MetadataCache
Interface for caches interacting with response metadata.
|
class |
NamedDefaultThreadFactory
An implementation of
ThreadFactory that is based off of the default implementation in the java libraries
except that it inserts a custom name instead of a pool number. |
class |
NullResponseMetadataCache
No-op response metadata cache used when a client instance is configured
without response metadata caching enabled.
|
class |
ReflectionMethodInvoker<T,R>
This class acts as a proxy to invoke a specific method on objects of a specific class.
|
class |
ResponseMetadataCache
Cache of response metadata for recently executed requests for diagnostic
purposes.
|
class |
TimestampFormat |
Modifier and Type | Class and Description |
---|---|
class |
NoOpWaiterHandler |
Copyright © 2024. All rights reserved.