public class MethodDescriptor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MethodDescriptor.RpcType |
| Constructor and Description |
|---|
MethodDescriptor(Method method) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String key,
Object value) |
boolean |
equals(Object o) |
Object |
getAttribute(String key) |
String[] |
getCompatibleParamSignatures() |
Method |
getMethod() |
String |
getMethodName() |
String |
getParamDesc() |
Class<?>[] |
getParameterClasses() |
Class<?>[] |
getRealParameterClasses() |
Class<?> |
getRealReturnClass() |
Class<?> |
getReturnClass() |
Type[] |
getReturnTypes() |
MethodDescriptor.RpcType |
getRpcType() |
int |
hashCode() |
boolean |
isGeneric() |
boolean |
isNeedWrap() |
boolean |
isProtobufClass(Class<?> clazz) |
boolean |
isServerStream() |
boolean |
isStream() |
boolean |
isUnary() |
boolean |
matchParams(String params) |
public MethodDescriptor(Method method)
public boolean isStream()
public boolean isServerStream()
public boolean isUnary()
public boolean isNeedWrap()
public MethodDescriptor.RpcType getRpcType()
public boolean isProtobufClass(Class<?> clazz)
public boolean matchParams(String params)
public Method getMethod()
public String getParamDesc()
public String[] getCompatibleParamSignatures()
public Class<?>[] getParameterClasses()
public Class<?> getReturnClass()
public Type[] getReturnTypes()
public String getMethodName()
public boolean isGeneric()
public Class<?>[] getRealParameterClasses()
public Class<?> getRealReturnClass()
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.