类 InterceptorChain
- java.lang.Object
-
- com.volcengine.interceptor.InterceptorChain
-
public class InterceptorChain extends Object
-
-
构造器概要
构造器 构造器 说明 InterceptorChain()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 InterceptorChainappendRequestInterceptor(RequestInterceptor interceptor)InterceptorChainappendResponseInterceptor(ResponseInterceptor interceptor)InterceptorContextexecuteRequest(InterceptorContext context)InterceptorContextexecuteResponse(InterceptorContext context)InterceptorChaininsertRequestInterceptor(RequestInterceptor interceptor, String afterName)InterceptorChaininsertResponseInterceptor(ResponseInterceptor interceptor, String afterName)
-
-
-
方法详细资料
-
appendRequestInterceptor
public InterceptorChain appendRequestInterceptor(RequestInterceptor interceptor)
-
insertRequestInterceptor
public InterceptorChain insertRequestInterceptor(RequestInterceptor interceptor, String afterName)
-
appendResponseInterceptor
public InterceptorChain appendResponseInterceptor(ResponseInterceptor interceptor)
-
insertResponseInterceptor
public InterceptorChain insertResponseInterceptor(ResponseInterceptor interceptor, String afterName)
-
executeRequest
public InterceptorContext executeRequest(InterceptorContext context) throws ApiException
- 抛出:
ApiException
-
executeResponse
public InterceptorContext executeResponse(InterceptorContext context) throws ApiException
- 抛出:
ApiException
-
-