类 StubMethodDescriptor
- java.lang.Object
-
- org.apache.dubbo.rpc.model.StubMethodDescriptor
-
- 所有已实现的接口:
MethodDescriptor,PackableMethod
public class StubMethodDescriptor extends Object implements MethodDescriptor, PackableMethod
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.apache.dubbo.rpc.model.MethodDescriptor
MethodDescriptor.RpcType
-
从接口继承的嵌套类/接口 org.apache.dubbo.rpc.model.PackableMethod
PackableMethod.Pack, PackableMethod.UnPack
-
-
构造器概要
构造器 构造器 说明 StubMethodDescriptor(String methodName, Class<?> requestClass, Class<?> responseClass, StubServiceDescriptor serviceDescriptor, MethodDescriptor.RpcType rpcType, PackableMethod.Pack requestPack, PackableMethod.Pack responsePack, PackableMethod.UnPack requestUnpack, PackableMethod.UnPack responseUnpack)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddAttribute(String key, Object value)ObjectgetAttribute(String key)String[]getCompatibleParamSignatures()duplicate filed as paramDesc, but with different format.MethodgetMethod()Only available for ReflectionMethodStringgetMethodName()StringgetParamDesc()Class<?>[]getParameterClasses()PackableMethod.PackgetRequestPack()PackableMethod.UnPackgetRequestUnpack()PackableMethod.PackgetResponsePack()PackableMethod.UnPackgetResponseUnpack()Class<?>getReturnClass()Type[]getReturnTypes()MethodDescriptor.RpcTypegetRpcType()booleanisGeneric()-
从接口继承的方法 org.apache.dubbo.rpc.model.PackableMethod
packRequest, packResponse, parseRequest, parseResponse
-
-
-
-
构造器详细资料
-
StubMethodDescriptor
public StubMethodDescriptor(String methodName, Class<?> requestClass, Class<?> responseClass, StubServiceDescriptor serviceDescriptor, MethodDescriptor.RpcType rpcType, PackableMethod.Pack requestPack, PackableMethod.Pack responsePack, PackableMethod.UnPack requestUnpack, PackableMethod.UnPack responseUnpack)
-
-
方法详细资料
-
getMethodName
public String getMethodName()
- 指定者:
getMethodName在接口中MethodDescriptor
-
getParamDesc
public String getParamDesc()
- 指定者:
getParamDesc在接口中MethodDescriptor
-
getCompatibleParamSignatures
public String[] getCompatibleParamSignatures()
从接口复制的说明:MethodDescriptorduplicate filed as paramDesc, but with different format.- 指定者:
getCompatibleParamSignatures在接口中MethodDescriptor
-
getParameterClasses
public Class<?>[] getParameterClasses()
- 指定者:
getParameterClasses在接口中MethodDescriptor
-
getReturnClass
public Class<?> getReturnClass()
- 指定者:
getReturnClass在接口中MethodDescriptor
-
getReturnTypes
public Type[] getReturnTypes()
- 指定者:
getReturnTypes在接口中MethodDescriptor
-
getRpcType
public MethodDescriptor.RpcType getRpcType()
- 指定者:
getRpcType在接口中MethodDescriptor
-
isGeneric
public boolean isGeneric()
- 指定者:
isGeneric在接口中MethodDescriptor
-
getMethod
public Method getMethod()
从接口复制的说明:MethodDescriptorOnly available for ReflectionMethod- 指定者:
getMethod在接口中MethodDescriptor- 返回:
- method
-
addAttribute
public void addAttribute(String key, Object value)
- 指定者:
addAttribute在接口中MethodDescriptor
-
getAttribute
public Object getAttribute(String key)
- 指定者:
getAttribute在接口中MethodDescriptor
-
getRequestPack
public PackableMethod.Pack getRequestPack()
- 指定者:
getRequestPack在接口中PackableMethod
-
getResponsePack
public PackableMethod.Pack getResponsePack()
- 指定者:
getResponsePack在接口中PackableMethod
-
getResponseUnpack
public PackableMethod.UnPack getResponseUnpack()
- 指定者:
getResponseUnpack在接口中PackableMethod
-
getRequestUnpack
public PackableMethod.UnPack getRequestUnpack()
- 指定者:
getRequestUnpack在接口中PackableMethod
-
-