[Registry-dev] API method to get resource metadata
Sanjiva Weerawarana
sanjiva at wso2.com
Thu Jan 3 04:10:51 PST 2008
+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
> Registry-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
>
--
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
email: sanjiva at wso2.com; cell: +1 650 265 8311 | +94 77 787 6880
"Oxygenating the Web Service Platform."
More information about the Registry-dev
mailing list