Package org.apache.dubbo.rpc.model
Class StubMethodDescriptor
java.lang.Object
org.apache.dubbo.rpc.model.StubMethodDescriptor
- All Implemented Interfaces:
MethodDescriptor,PackableMethod
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.dubbo.rpc.model.MethodDescriptor
MethodDescriptor.RpcType -
Constructor Summary
ConstructorsConstructorDescriptionStubMethodDescriptor(String methodName, Class<?> requestClass, Class<?> responseClass, StubServiceDescriptor serviceDescriptor, MethodDescriptor.RpcType rpcType, Pack requestPack, Pack responsePack, UnPack requestUnpack, UnPack responseUnpack) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(String key, Object value) getAttribute(String key) String[]duplicate filed as paramDesc, but with different format.Only available for ReflectionMethodClass<?>[]Class<?> Type[]booleanMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.rpc.model.PackableMethod
needWrapper, packRequest, packResponse, parseRequest, parseResponse, parseResponse
-
Constructor Details
-
StubMethodDescriptor
public StubMethodDescriptor(String methodName, Class<?> requestClass, Class<?> responseClass, StubServiceDescriptor serviceDescriptor, MethodDescriptor.RpcType rpcType, Pack requestPack, Pack responsePack, UnPack requestUnpack, UnPack responseUnpack)
-
-
Method Details
-
getMethodName
- Specified by:
getMethodNamein interfaceMethodDescriptor
-
getParamDesc
- Specified by:
getParamDescin interfaceMethodDescriptor
-
getCompatibleParamSignatures
Description copied from interface:MethodDescriptorduplicate filed as paramDesc, but with different format.- Specified by:
getCompatibleParamSignaturesin interfaceMethodDescriptor
-
getParameterClasses
- Specified by:
getParameterClassesin interfaceMethodDescriptor
-
getReturnClass
- Specified by:
getReturnClassin interfaceMethodDescriptor
-
getReturnTypes
- Specified by:
getReturnTypesin interfaceMethodDescriptor
-
getRpcType
- Specified by:
getRpcTypein interfaceMethodDescriptor
-
isGeneric
public boolean isGeneric()- Specified by:
isGenericin interfaceMethodDescriptor
-
getMethod
Description copied from interface:MethodDescriptorOnly available for ReflectionMethod- Specified by:
getMethodin interfaceMethodDescriptor- Returns:
- method
-
addAttribute
- Specified by:
addAttributein interfaceMethodDescriptor
-
getAttribute
- Specified by:
getAttributein interfaceMethodDescriptor
-
getRequestPack
- Specified by:
getRequestPackin interfacePackableMethod
-
getResponsePack
- Specified by:
getResponsePackin interfacePackableMethod
-
getResponseUnpack
- Specified by:
getResponseUnpackin interfacePackableMethod
-
getRequestUnpack
- Specified by:
getRequestUnpackin interfacePackableMethod
-