+1 and I suggest that this be bound to HEAD in the HTTP protocol.

Sanjiva.

Chathura C. Ekanayake wrote:

We (Dr. Sanjiva, Deepal and I) discussed about adding a new method to the Registry API to get the resource metadata without retrieving the resource content.
The method we agreed is:

Resource getResourceMatadata(String path);

This method returns a Resource object with content set to null. There are many use cases for this method in the registry web UI and in the APP interface. In both these cases, we need to get the metadata. But we need the actual content only when a user wants to download the resource. Therefore, we can use getResourceMatadata(...) method in these scenarios to process requests efficiently.

Thanks,
Chathura

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev


--
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

Reply via email to