com.gargoylesoftware.htmlunit.protocol.javascript
Class Handler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by com.gargoylesoftware.htmlunit.protocol.javascript.Handler

public class Handler
extends URLStreamHandler

Stream handler for JavaScript URLs.

Version:
$Revision: 5301 $
Author:
Mike Bowler

Constructor Summary
Handler()
           
 
Method Summary
protected  URLConnection openConnection(URL url)
          Returns a new URLConnection for this URL.
 
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 url)
Returns a new URLConnection for this URL.

Specified by:
openConnection in class URLStreamHandler
Parameters:
url - the JavaScript URL
Returns:
the connection


Copyright © 2002-2011 Gargoyle Software Inc.. All Rights Reserved.