Package org.htmlunit.protocol.data
Class Handler
java.lang.Object
java.net.URLStreamHandler
org.htmlunit.protocol.data.Handler
Stream handler for data URLs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.commons.logging.Log
Logging support. -
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
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOGLogging support.
-
-
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
-