Add alibaba RpcContext getInvocation compact (#12416)

This commit is contained in:
Albumen Kevin 2023-05-29 15:31:16 +08:00 committed by GitHub
parent c7bc74557c
commit 581defa2b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -305,6 +305,10 @@ public class RpcContext {
return newRpcContext.get(key);
}
public Invocation getInvocation() {
return new Invocation.CompatibleInvocation(newRpcContext.getInvocation());
}
@Deprecated
public boolean isServerSide() {
return isProviderSide();