Package org.mapfish.print.url.data
Class Handler
- java.lang.Object
-
- java.net.URLStreamHandler
-
- org.mapfish.print.url.data.Handler
-
public class Handler extends java.net.URLStreamHandler
Responsible for instantiating the DataUrlConnection.
-
-
Constructor Summary
Constructors Constructor Description Handler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
configureProtocolHandler()
Adds the parent package to the java.protocol.handler.pkgs system property.protected java.net.URLConnection
openConnection(java.net.URL url)
protected java.net.URLConnection
openConnection(java.net.URL url, java.net.Proxy proxy)
-
-
-
Method Detail
-
configureProtocolHandler
public static void configureProtocolHandler()
Adds the parent package to the java.protocol.handler.pkgs system property.
-
openConnection
protected java.net.URLConnection openConnection(java.net.URL url)
- Specified by:
openConnection
in classjava.net.URLStreamHandler
-
openConnection
protected java.net.URLConnection openConnection(java.net.URL url, java.net.Proxy proxy)
- Overrides:
openConnection
in classjava.net.URLStreamHandler
-
-