public final class AwsExecutionContextBuilder extends Object
Modifier and Type | Method and Description |
---|---|
static <InputT extends SdkRequest,OutputT extends SdkResponse> |
invokeInterceptorsAndCreateExecutionContext(ClientExecutionParams<InputT,OutputT> executionParams,
SdkClientConfiguration clientConfig)
Used by both sync and async clients to create the execution context, and run initial interceptors.
|
static InterceptorContext |
runInitialInterceptors(InterceptorContext interceptorContext,
ExecutionAttributes executionAttributes,
ExecutionInterceptorChain executionInterceptorChain)
Finalize
SdkRequest by running beforeExecution and modifyRequest interceptors. |
public static <InputT extends SdkRequest,OutputT extends SdkResponse> ExecutionContext invokeInterceptorsAndCreateExecutionContext(ClientExecutionParams<InputT,OutputT> executionParams, SdkClientConfiguration clientConfig)
public static InterceptorContext runInitialInterceptors(InterceptorContext interceptorContext, ExecutionAttributes executionAttributes, ExecutionInterceptorChain executionInterceptorChain)
SdkRequest
by running beforeExecution and modifyRequest interceptors.interceptorContext
- containing the immutable SdkRequest information the interceptor can act onexecutionAttributes
- mutable container of attributes concerning the execution and requestInterceptorContext
returns a context with a new SdkRequestCopyright © 2023. All rights reserved.