org.gcube.contentmanager.storageclient.model.protocol.smp
Class Handler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by org.gcube.contentmanager.storageclient.model.protocol.smp.Handler

public class Handler
extends URLStreamHandler

A handler for the sm protocol.

Author:
Fabio Simeoni (University of Strathclyde)

Constructor Summary
Handler()
           
 
Method Summary
static void activateProtocol()
          Registers the protocol with the JVM.
protected  URLConnection openConnection(URL u)
          
 
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Handler

public Handler()
Method Detail

openConnection

protected URLConnection openConnection(URL u)
                                throws IOException

Specified by:
openConnection in class URLStreamHandler
Throws:
IOException

activateProtocol

public static void activateProtocol()
Registers the protocol with the JVM.



Copyright © 2012. All Rights Reserved.