load(); ServiceMethod method = serviceDefinition.getResourceMethod(fullyQualifiedMethodName); Preconditions.checkNotNull(method, "method not found: %s", fullyQualifiedMethodName);
/** * Returns url for requested method. Method identifier is of format "resourceName.methodName". */ String getResourceUrl(String methodIdentifier) { return baseUrl + getResourceMethod(methodIdentifier).pathUrl; } }