示例#1
0
 @Override
 public void addServiceMethod(
     String methodName, String version, ServiceMethodHandler serviceMethodHandler) {
   serviceMethods.add(methodName);
   serviceHandlerMap.put(
       ServiceMethodHandler.methodWithVersion(methodName, version), serviceMethodHandler);
 }
示例#2
0
 @Override
 public boolean isValidMethod(String methodName) {
   return serviceMethods.contains(methodName);
 }