Class ExecutionInterceptorChain

java.lang.Object
software.amazon.awssdk.core.interceptor.ExecutionInterceptorChain

public class ExecutionInterceptorChain extends Object
A wrapper for a list of ExecutionInterceptors that ensures the interceptors are executed in the correct order as it is documented in the ExecutionInterceptor documentation. Interceptors are invoked in forward order up to beforeTransmission(software.amazon.awssdk.core.interceptor.Context.BeforeTransmission, software.amazon.awssdk.core.interceptor.ExecutionAttributes) and in reverse order after (and including) afterTransmission(software.amazon.awssdk.core.interceptor.Context.AfterTransmission, software.amazon.awssdk.core.interceptor.ExecutionAttributes). This ensures the last interceptors to modify the request are the first interceptors to see the response.