in src/main/java/com/aliyun/tea/Tea.java [77:89]
public static TeaResponse doAction(TeaRequest request, Map<String, Object> runtimeOptions, InterceptorChain chain) {
if (null == chain) {
return doAction(request, runtimeOptions);
}
InterceptorContext context = InterceptorContext.create().setRuntimeOptions(runtimeOptions);
context = chain.modifyRuntimeOptions(context, AttributeMap.empty());
context.setTeaRequest(request);
context = chain.modifyRequest(context, AttributeMap.empty());
TeaResponse response = doAction(request, runtimeOptions);
context.setTeaResponse(response);
context = chain.modifyResponse(context, AttributeMap.empty());
return context.teaResponse();
}