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 AwsCredentialsProvider |
resolveCredentialsProvider(SdkRequest originalRequest,
AwsCredentialsProvider defaultProvider)
Resolves the credentials provider, with the request override configuration taking precedence over the
provided default.
|
static Signer |
resolveSigner(SdkRequest request,
Signer defaultSigner)
Request override signers take precedence over the default alternative, for instance what is specified in the
client.
|
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 AwsCredentialsProvider resolveCredentialsProvider(SdkRequest originalRequest, AwsCredentialsProvider defaultProvider)
public static Signer resolveSigner(SdkRequest request, Signer defaultSigner)
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 © 2022. All rights reserved.