public class ClientInvokeInterceptor extends AbstractInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected CommunicationClient |
communicationClient |
| Constructor and Description |
|---|
ClientInvokeInterceptor(CommunicationClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
aroundProcess(Request request,
Response response,
InterceptorChain chain)
The around intercept for RPC methods.
|
handleRequest, handleResponseprotected CommunicationClient communicationClient
public ClientInvokeInterceptor(CommunicationClient client)
public void aroundProcess(Request request, Response response, InterceptorChain chain) throws RpcException
InterceptoraroundProcess in interface InterceptoraroundProcess in class AbstractInterceptorresponse - sync result or async futurechain - interceptor chainRpcExceptionCopyright © 2020 Baidu, Inc.. All rights reserved.