类 ThriftUtils


  • public class ThriftUtils
    extends Object
    • 构造器详细资料

      • ThriftUtils

        public ThriftUtils()
    • 方法详细资料

      • generateMethodArgsClassName

        public static String generateMethodArgsClassName(String serviceName,
                                                         String methodName)
        Generate class name which represents service arguments.
        参数:
        serviceName - service name
        methodName - method name
        返回:
        method args class name or null
      • generateMethodResultClassName

        public static String generateMethodResultClassName(String serviceName,
                                                           String method)
      • generateSetMethodName

        public static String generateSetMethodName(String fieldName)
      • generateGetMethodName

        public static String generateGetMethodName(String fieldName)
      • generateMethodArgsClassNameThrift

        public static String generateMethodArgsClassNameThrift(String serviceName,
                                                               String methodName)
      • generateMethodResultClassNameThrift

        public static String generateMethodResultClassNameThrift(String serviceName,
                                                                 String methodName)