类 RpcUtils
- java.lang.Object
-
- com.alibaba.dubbo.rpc.support.RpcUtils
-
public class RpcUtils extends Object
RpcUtils
-
-
构造器概要
构造器 构造器 说明 RpcUtils()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static void
attachInvocationIdIfAsync(URL url, Invocation inv)
Idempotent operation: invocation id will be added in async operation by defaultstatic Object[]
getArguments(Invocation invocation)
static Long
getInvocationId(Invocation inv)
static String
getMethodName(Invocation invocation)
static Class<?>[]
getParameterTypes(Invocation invocation)
static Class<?>
getReturnType(Invocation invocation)
static Type[]
getReturnTypes(Invocation invocation)
static boolean
isAsync(URL url, Invocation inv)
static boolean
isOneway(URL url, Invocation inv)
-
-
-
方法详细资料
-
getReturnType
public static Class<?> getReturnType(Invocation invocation)
-
getReturnTypes
public static Type[] getReturnTypes(Invocation invocation)
-
getInvocationId
public static Long getInvocationId(Invocation inv)
-
attachInvocationIdIfAsync
public static void attachInvocationIdIfAsync(URL url, Invocation inv)
Idempotent operation: invocation id will be added in async operation by default- 参数:
url
-inv
-
-
getMethodName
public static String getMethodName(Invocation invocation)
-
getArguments
public static Object[] getArguments(Invocation invocation)
-
getParameterTypes
public static Class<?>[] getParameterTypes(Invocation invocation)
-
isAsync
public static boolean isAsync(URL url, Invocation inv)
-
isOneway
public static boolean isOneway(URL url, Invocation inv)
-
-