public class LoadBalanceInterceptor extends AbstractInterceptor
| 构造器和说明 |
|---|
LoadBalanceInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
aroundProcess(Request request,
Response response,
InterceptorChain chain)
The around intercept for RPC methods.
|
protected void |
invokeRpc(Request request,
Response response) |
protected void |
rpcCore(Request request,
Response response) |
handleRequest, handleResponseprotected RpcClient rpcClient
public void aroundProcess(Request request, Response response, InterceptorChain chain) throws Exception
InterceptoraroundProcess 在接口中 InterceptoraroundProcess 在类中 AbstractInterceptorresponse - sync result or async futurechain - interceptor chainExceptionprotected void invokeRpc(Request request, Response response) throws Exception
ExceptionCopyright © 2019 Baidu, Inc.. All rights reserved.