Class AwsExecutionContextBuilder
java.lang.Object
software.amazon.awssdk.awscore.internal.AwsExecutionContextBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstatic <InputT extends SdkRequest,
OutputT extends SdkResponse>
ExecutionContextinvokeInterceptorsAndCreateExecutionContext
(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) FinalizeSdkRequest
by running beforeExecution and modifyRequest interceptors.
-
Method Details
-
invokeInterceptorsAndCreateExecutionContext
public static <InputT extends SdkRequest,OutputT extends SdkResponse> ExecutionContext invokeInterceptorsAndCreateExecutionContext(ClientExecutionParams<InputT, OutputT> executionParams, SdkClientConfiguration clientConfig) Used by both sync and async clients to create the execution context, and run initial interceptors. -
runInitialInterceptors
public static InterceptorContext runInitialInterceptors(InterceptorContext interceptorContext, ExecutionAttributes executionAttributes, ExecutionInterceptorChain executionInterceptorChain) FinalizeSdkRequest
by running beforeExecution and modifyRequest interceptors.- Parameters:
interceptorContext
- containing the immutable SdkRequest information the interceptor can act onexecutionAttributes
- mutable container of attributes concerning the execution and request- Returns:
- the
InterceptorContext
returns a context with a new SdkRequest
-