public interface HttpJsonClientInterceptorInterface for intercepting outgoing calls before they are dispatched by a 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.
Methods
<ReqT,RespT>interceptCall(ApiMethodDescriptor<ReqT,RespT> method, HttpJsonCallOptions callOptions, HttpJsonChannel next)
public abstract HttpJsonClientCall<ReqT,RespT> <ReqT,RespT>interceptCall(ApiMethodDescriptor<ReqT,RespT> method, HttpJsonCallOptions callOptions, HttpJsonChannel next)Intercept HttpJsonClientCall creation by the next HttpJsonChannel.
| Name | Description |
| method | ApiMethodDescriptor<ReqT,RespT>the remote method to be called |
| callOptions | HttpJsonCallOptionsthe runtime options to be applied to this call |
| next | HttpJsonChannelthe channel which is being intercepted |
| Type | Description |
| HttpJsonClientCall<ReqT,RespT> | the call object for the remote operation, never |