Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.event |
Modifier and Type | Method and Description |
---|---|
ProgressListener |
AmazonWebServiceRequest.getGeneralProgressListener()
Returns the optional progress listener for receiving updates about the progress of the
request.
|
abstract ProgressListener |
RequestConfig.getProgressListener() |
Modifier and Type | Method and Description |
---|---|
void |
AmazonWebServiceRequest.setGeneralProgressListener(ProgressListener progressListener)
Sets the optional progress listener for receiving updates about the progress of the request.
|
<T extends AmazonWebServiceRequest> |
AmazonWebServiceRequest.withGeneralProgressListener(ProgressListener progressListener)
Sets the optional progress listener for receiving updates about the progress of the request,
and returns a reference to this object so that method calls can be chained together.
|
Modifier and Type | Class and Description |
---|---|
static class |
ProgressListener.ExceptionReporter
A utility class for capturing and reporting the first exception thrown by
a given progress listener.
|
static class |
ProgressListener.NoOpProgressListener |
class |
ProgressListenerChain
An implementation of ProgressListener interface that delegates
progressChanged callback to multiple listeners.
|
class |
ProgressTracker
Default implementation for progress tracking.
|
class |
SyncProgressListener
Abstract adapter class for a progress listener that is delivered with
progress event synchronously.
|
Modifier and Type | Field and Description |
---|---|
static ProgressListener |
ProgressListener.NOOP |
Modifier and Type | Method and Description |
---|---|
ProgressListener |
ProgressInputStream.getListener() |
Modifier and Type | Method and Description |
---|---|
protected List<ProgressListener> |
ProgressListenerChain.getListeners()
Returns the listeners associated with this listener chain.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgressListenerChain.addProgressListener(ProgressListener listener) |
static InputStream |
ProgressInputStream.inputStreamForRequest(InputStream is,
ProgressListener progressListener) |
static InputStream |
ProgressInputStream.inputStreamForResponse(InputStream is,
ProgressListener progressListener)
Returns an input stream for response progress tracking purposes.
|
static boolean |
DeliveryMode.Check.isSyncCallSafe(ProgressListener listener) |
static Future<?> |
SDKProgressPublisher.publishProgress(ProgressListener listener,
ProgressEventType type)
Used to deliver a progress event to the given listener.
|
static Future<?> |
SDKProgressPublisher.publishRequestBytesTransferred(ProgressListener listener,
long bytes)
Convenient method to publish a request byte transfer event to the given
listener.
|
static Future<?> |
SDKProgressPublisher.publishRequestContentLength(ProgressListener listener,
long bytes)
Convenient method to publish a request content length event to the given
listener.
|
static Future<?> |
SDKProgressPublisher.publishRequestReset(ProgressListener listener,
long bytesReset)
Convenient method to publish a request reset event to the given listener.
|
static Future<?> |
SDKProgressPublisher.publishResponseBytesDiscarded(ProgressListener listener,
long bytesDiscarded)
Convenient method to publish a response bytes discard event to the given listener.
|
static Future<?> |
SDKProgressPublisher.publishResponseBytesTransferred(ProgressListener listener,
long bytes)
Convenient method to publish a response byte transfer event to the given
listener.
|
static Future<?> |
SDKProgressPublisher.publishResponseContentLength(ProgressListener listener,
long bytes)
Convenient method to publish a response content length event to the given
listener.
|
static Future<?> |
SDKProgressPublisher.publishResponseReset(ProgressListener listener,
long bytesReset)
Convenient method to publish a response reset event to the given listener.
|
void |
ProgressListenerChain.removeProgressListener(ProgressListener listener) |
static ProgressListener.ExceptionReporter |
ProgressListener.ExceptionReporter.wrap(ProgressListener listener)
Returns a wrapper for the given listener to capture the first
exception thrown.
|
Constructor and Description |
---|
ExceptionReporter(ProgressListener listener) |
ProgressInputStream(InputStream is,
ProgressListener listener) |
ProgressInputStream(InputStream is,
ProgressListener listener,
int notifyThresHold) |
ProgressListenerChain(ProgressEventFilter progressEventFilter,
ProgressListener... listeners)
Create a listener chain with a ProgressEventFilter.
|
ProgressListenerChain(ProgressListener... listeners)
Create a listener chain that directly passes all the progress events to
the specified listeners.
|
Copyright © 2017. All rights reserved.