You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Michael Becke <be...@u.washington.edu> on 2003/01/06 03:58:25 UTC

[PATCH] Dependancy on Java 1.4

Attached is a patch plus a few new classes/interfaces.  These should 
solve the 1.4/JSSE dependency problem caused by Protocol.  The changes 
are as follows:

- SocketFactory and SSLSocketFactory have been replaced by new 
interfaces ProtocolSocketFactory and SecureProtocolSocketFactory.
- default implementations of the two ProtocolSocketFactories have been 
added.
- all use of JSSE classes has been moved to the 
SSLProtocolSocketFactory class.
- Protocol along with the new files have been moved to a new 
org.apache.commons.httpclient.protocol package.  I'm not sure if this 
change is necessary, but it seemed cleaner.

Enjoy,

Mike