public interface InvokerInterceptor
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterProcess()
to call after process called. here need to clear some garbage here
|
void |
beforeInvoke(MethodInvocationInfo methodInvocation)
This method will call before RPC method invoke.
|
Object |
process(MethodInvocationInfo methodInvocation)
to do intercept action.
|
static final Object NULL
void beforeInvoke(MethodInvocationInfo methodInvocation)
methodInvocation - the method invocationObject process(MethodInvocationInfo methodInvocation)
methodInvocation - the method invocationNULL to stop next chain invocation.void afterProcess()
Copyright © 2022 Baidu, Inc.. All rights reserved.