Class AwsExecutionContextBuilder
- java.lang.Object
-
- software.amazon.awssdk.awscore.internal.AwsExecutionContextBuilder
-
public final class AwsExecutionContextBuilder extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <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 InterceptorContextrunInitialInterceptors(InterceptorContext interceptorContext, ExecutionAttributes executionAttributes, ExecutionInterceptorChain executionInterceptorChain)FinalizeSdkRequestby running beforeExecution and modifyRequest interceptors.
-
-
-
Method Detail
-
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)
FinalizeSdkRequestby 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
InterceptorContextreturns a context with a new SdkRequest
-
-