Difference between revisions of "URI Resolver"

From Gcube Wiki
Jump to: navigation, search
(Created page with '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…')
 
Line 1: Line 1:
 
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 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 SMP based protocol URIs (
+
The first version of the component is able to give HTTP resolution to SM protocol URIs [https://gcube.wiki.gcube-system.org/gcube/index.php/Storage_Management_NEW].
 +
 
 +
Once deployed in a servlet container as Tomcat, the servlet can be used to resolve SMP URI as follows:
 +
 
 +
<source lang="java5">
 +
URL url = new URL("http://localhost:8080/uri-resolver/smp?smp-uri=smp://Wikipedia_logo_silver.png?5ezvFfBOLqaqBlwCEtAvz4ch5BUu1ag3yftpCvV+gayz9bAtSsnO1/sX6pemTKbDe0qbchLexXeWgGcJlskYE8td9QSDXSZj5VSl9kdN9SN0/LRYaWUZuP4Q1J7lEiwkU4GKPsiD6PDRVcT4QAqTEy5hSIbr6o4Y");
 +
</source>

Revision as of 13:33, 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://localhost:8080/uri-resolver/smp?smp-uri=smp://Wikipedia_logo_silver.png?5ezvFfBOLqaqBlwCEtAvz4ch5BUu1ag3yftpCvV+gayz9bAtSsnO1/sX6pemTKbDe0qbchLexXeWgGcJlskYE8td9QSDXSZj5VSl9kdN9SN0/LRYaWUZuP4Q1J7lEiwkU4GKPsiD6PDRVcT4QAqTEy5hSIbr6o4Y");