Package org.htmlunit.protocol.javascript
Class Handler
java.lang.Object
java.net.URLStreamHandler
org.htmlunit.protocol.javascript.Handler
Stream handler for JavaScript URLs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
openConnection
Returns a new URLConnection for this URL.- Specified by:
openConnection
in classURLStreamHandler
- Parameters:
url
- the JavaScript URL- Returns:
- the connection
-