Hi Matt, That would probably mean that we would need to create implementations for java.net.URL, java.net.HttpURLConnection and maybe also for java.net.URLConnection. URL is a final class, so I don't know how it would be possible to get it to return something different with URL.openConnection().
Do you think it would be possible? Evert On Wed, 2002-06-12 at 18:27, SkyLeach wrote: > Nobody responded to this last time, and I still am interested in knowing the > answer. Please read if you are using HttpClient and let me know... > > thanks, > > ----- Original Message ----- > From: "Matt Gregory" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, June 11, 2002 11:39 AM > Subject: Handlers for HttpClient? > > > > Have handler classes been created to wrap the Commons project HttpClient? > > > > In other words, can I pass the > > "-Djava.protocol.handler.pkgs=org.apache.commons.httpclient" directive to > my > > JVM and expect to get an org.apache.commons.httpclient.HttpConnection back > > from a java.net.URL.openConnection() call when I specify the "http" > protocol? > > > > Please let me know, and if not then I will work to extend the package now. > > I must have this functionality ASAP because my package, PortletStreams is > in > > production but needs cookie handling and HTTP authentication. > > > > Thanks in advance... > > -Matt > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
