Package org.bzdev.net

Class EncapURLConnection

java.lang.Object
java.net.URLConnection
org.bzdev.net.EncapURLConnection

public abstract class EncapURLConnection extends URLConnection
Base class for encapsulating URL connections. This class stores a URL connection and delegates all the standard methods for a URL connection to the stored URL connection.

Subclasses will typically override a few methods, perhaps wrapping them in a doPrivileged block or merely tracing some methods by printing their arguments on an output stream for debugging purposes.