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