Class RequestExecutionContext
java.lang.Object
software.amazon.awssdk.core.internal.http.RequestExecutionContext
Request scoped dependencies and context for an execution of a request by
AmazonSyncHttpClient
or
AmazonAsyncHttpClient
.
Provided to the RequestPipeline.execute(Object, RequestExecutionContext)
method.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
An SDK-internal implementation ofRequestExecutionContext.Builder
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
apiCallAttemptTimeoutTracker
(TimeoutTracker timeoutTracker) void
apiCallTimeoutTracker
(TimeoutTracker timeoutTracker) Sets the tracker task for the .void
attemptMetricCollector
(MetricCollector metricCollector) builder()
Create aRequestExecutionContext.Builder
, used to create aRequestExecutionContext
.void
requestProvider
(AsyncRequestBody publisher) Sets the request body provider.signer()
-
Method Details
-
builder
Create aRequestExecutionContext.Builder
, used to create aRequestExecutionContext
. -
requestProvider
-
interceptorChain
- Returns:
- Execution interceptors to hook into execution lifecycle.
-
executionAttributes
-
executionContext
-
originalRequest
-
requestConfig
-
signer
- Returns:
- SignerProvider used to obtain an instance of a
Signer
.
-
apiCallTimeoutTracker
- Returns:
- Tracker task for the
TimeoutTracker
.
-
apiCallTimeoutTracker
Sets the tracker task for the . Should be called once per request lifecycle. -
apiCallAttemptTimeoutTracker
-
apiCallAttemptTimeoutTracker
-
attemptMetricCollector
-
attemptMetricCollector
-
requestProvider
Sets the request body provider. Used for transforming the original body provider to sign events for event stream operations that support signing.
-