grinda.client.stp
Class Handler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by grinda.client.stp.Handler

public class Handler
extends java.net.URLStreamHandler

Handler for the STP. This class is needed by the JVM to automatic load network protocols at run-time.

Version:
1.0
Author:
Sirio Capizzi

Constructor Summary
Handler()
           
 
Method Summary
protected  java.net.URLConnection openConnection(java.net.URL url)
          Opens a new connection using the STP.
 
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 java.net.URLConnection openConnection(java.net.URL url)
                                         throws java.io.IOException
Opens a new connection using the STP.

Specified by:
openConnection in class java.net.URLStreamHandler
Parameters:
url - Connection url
Returns:
URLConnection
Throws:
java.io.IOException


Copyright © 2006 Sirio Capizzi. All Rights Reserved.