Glen Daniels wrote:
So the Java API might want to change in a couple of possible ways. First, we could just update the path of the Resource being passed to put() with the new path. So you'd have to check resource.getPath() to see where it actually ended up. Second, we could have put() return the actual result path String. We could also do both. In either case we'd want to change the name of the "path" argument to "suggestedPath", with appropriate JavaDoc.
+1 for changing it to return the actual path. Consistent with the Slug/Location approach too and more appropriate for the distributed version of the API.
Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/ email: [EMAIL PROTECTED]; cell: +1 650 265 8311 | +94 77 787 6880 "Oxygenating the Web Service Platform." _______________________________________________ Registry-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
