Package com.alibaba.dubbo.rpc.support
Class RpcUtils
java.lang.Object
org.apache.dubbo.rpc.support.RpcUtils
com.alibaba.dubbo.rpc.support.RpcUtils
public class RpcUtils
extends org.apache.dubbo.rpc.support.RpcUtils
2019-04-18
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidattachInvocationIdIfAsync(URL url, Invocation inv) Idempotent operation: invocation id will be added in async operation by defaultstatic Object[]getArguments(Invocation invocation) static Longstatic StringgetMethodName(Invocation invocation) static Class<?>[]getParameterTypes(Invocation invocation) static Class<?> getReturnType(Invocation invocation) static Type[]getReturnTypes(Invocation invocation) static booleanisAsync(URL url, Invocation inv) static booleanisOneway(URL url, Invocation inv) static booleanMethods inherited from class org.apache.dubbo.rpc.support.RpcUtils
attachInvocationIdIfAsync, calculateTimeout, convertToNumber, convertToNumber, getArguments, getInvocationId, getInvokeMode, getMethodName, getParameterTypes, getReturnType, getReturnTypes, getTimeout, getTimeout, isAsync, isEcho, isGenericAsync, isGenericCall, isOneway, isReturnTypeFuture
-
Constructor Details
-
RpcUtils
public RpcUtils()
-
-
Method Details
-
getReturnType
-
getReturnTypes
-
getInvocationId
-
attachInvocationIdIfAsync
Idempotent operation: invocation id will be added in async operation by default- Parameters:
url-inv-
-
getMethodName
-
getArguments
-
getParameterTypes
-
isAsync
-
isReturnTypeFuture
-
isOneway
-