@BetaApi
public interface HttpJsonClientInterceptor
HttpJsonChannel.
The interceptor may be called for multiple calls by one or more
threads without completing the previous ones first. The implementations must be thread-safe.
| Modifier and Type | Method and Description |
|---|---|
<ReqT,RespT> |
interceptCall(ApiMethodDescriptor<ReqT,RespT> method,
HttpJsonCallOptions callOptions,
HttpJsonChannel next)
|
<ReqT,RespT> HttpJsonClientCall<ReqT,RespT> interceptCall(ApiMethodDescriptor<ReqT,RespT> method, HttpJsonCallOptions callOptions, HttpJsonChannel next)
method - the remote method to be calledcallOptions - the runtime options to be applied to this callnext - the channel which is being interceptednull