Package org.htmlunit.protocol
Class AnyHandler
- java.lang.Object
-
- java.net.URLStreamHandler
-
- org.htmlunit.protocol.AnyHandler
-
public class AnyHandler extends java.net.URLStreamHandler
Stream handler for URLs with unknown protocol which should simply not be opened.
-
-
Field Summary
Fields Modifier and Type Field Description static AnyHandler
INSTANCE
Shared instance.
-
Constructor Summary
Constructors Constructor Description AnyHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.net.URLConnection
openConnection(java.net.URL url)
Returns a new URLConnection for this URL.
-
-
-
Field Detail
-
INSTANCE
public static final AnyHandler INSTANCE
Shared instance.
-
-