类 ThriftUtils
- java.lang.Object
-
- com.alibaba.dubbo.rpc.protocol.thrift.ThriftUtils
-
public class ThriftUtils extends Object
-
-
构造器概要
构造器 构造器 说明 ThriftUtils()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static String
generateGetMethodName(String fieldName)
static String
generateMethodArgsClassName(String serviceName, String methodName)
Generate class name which represents service arguments.static String
generateMethodArgsClassNameThrift(String serviceName, String methodName)
static String
generateMethodResultClassName(String serviceName, String method)
static String
generateMethodResultClassNameThrift(String serviceName, String methodName)
static String
generateSetMethodName(String fieldName)
-
-
-
方法详细资料
-
generateMethodArgsClassName
public static String generateMethodArgsClassName(String serviceName, String methodName)
Generate class name which represents service arguments.- 参数:
serviceName
- service namemethodName
- method name- 返回:
- method args class name or null
-
generateMethodResultClassName
public static String generateMethodResultClassName(String serviceName, String method)
-
generateMethodArgsClassNameThrift
public static String generateMethodArgsClassNameThrift(String serviceName, String methodName)
-
-