URI Resolver

From Gcube Wiki
Revision as of 13:34, 18 April 2013 by Andrea.manzi (Talk | contribs)

Jump to: navigation, search

The URI Resolver is an HTTP URI resolver implemented as an HTTP servlet which gives the possibility to resolve and access trough HTTP different protocols URIs.

The first version of the component is able to give HTTP resolution to SM protocol URIs [1].

Once deployed in a servlet container as Tomcat, the servlet can be used to resolve SMP URI as follows:

URL url = new URL("http://localhost:8080/uri-resolver/smp?smp-uri=smp://Wikipedia_logo_silver.png?5ezvFfBOLqaqBlwCEtAvz4ch5B/td9QSDXSZj5VSl9kdN9SN0/LRYaWUZuP4Q1J7");