Difference between revisions of "URI Resolver"
From Gcube Wiki
Andrea.manzi (Talk | contribs) |
Andrea.manzi (Talk | contribs) |
||
Line 8: | Line 8: | ||
URL url = new URL("http://<hostname>:<port>/uri-resolver/smp?smp-uri=smp://Wikipedia_logo_silver.png?5ezvFfBOLqaqBlwCEtAvz4ch5B/td9QSDXSZj5VSl9kdN9SN0/LRYaWUZuP4Q1J7"); | URL url = new URL("http://<hostname>:<port>/uri-resolver/smp?smp-uri=smp://Wikipedia_logo_silver.png?5ezvFfBOLqaqBlwCEtAvz4ch5B/td9QSDXSZj5VSl9kdN9SN0/LRYaWUZuP4Q1J7"); | ||
</source> | </source> | ||
− | |||
− |
Revision as of 15:40, 18 April 2013
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://<hostname>:<port>/uri-resolver/smp?smp-uri=smp://Wikipedia_logo_silver.png?5ezvFfBOLqaqBlwCEtAvz4ch5B/td9QSDXSZj5VSl9kdN9SN0/LRYaWUZuP4Q1J7");