public class RpcUtils extends Object
| Constructor and Description |
|---|
RpcUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
attachInvocationIdIfAsync(URL url,
Invocation inv)
Idempotent operation: invocation id will be added in async operation by default
|
static 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) |
public static Class<?> getReturnType(Invocation invocation)
public static Type[] getReturnTypes(Invocation invocation)
public static Long getInvocationId(Invocation inv)
public static void attachInvocationIdIfAsync(URL url, Invocation inv)
url - inv - public static String getMethodName(Invocation invocation)
public static Object[] getArguments(Invocation invocation)
public static Class<?>[] getParameterTypes(Invocation invocation)
public static boolean isAsync(URL url, Invocation inv)
public static boolean isOneway(URL url, Invocation inv)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.