Package com.google.api.gax.httpjson
Interface HttpJsonClientInterceptor
-
@BetaApi public interface HttpJsonClientInterceptorInterface for intercepting outgoing calls before they are dispatched by aHttpJsonChannel.The interceptor may be called for multiple
callsby one or more threads without completing the previous ones first. The implementations must be thread-safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <ReqT,RespT>
HttpJsonClientCall<ReqT,RespT>interceptCall(ApiMethodDescriptor<ReqT,RespT> method, HttpJsonCallOptions callOptions, HttpJsonChannel next)
-
-
-
Method Detail
-
interceptCall
<ReqT,RespT> HttpJsonClientCall<ReqT,RespT> interceptCall(ApiMethodDescriptor<ReqT,RespT> method, HttpJsonCallOptions callOptions, HttpJsonChannel next)
- Parameters:
method- the remote method to be calledcallOptions- the runtime options to be applied to this callnext- the channel which is being intercepted- Returns:
- the call object for the remote operation, never
null
-
-