You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Kalnichevski, Oleg" <ol...@bearingpoint.com> on 2003/01/16 13:36:43 UTC

[PATCH] Dependancy on Java 1.4 fix (attempt 2)

Contributed by Michael Becke

Changelog:
- HttpClient has now only two compile-time dependencies on Java 1.4
  org.apache.commons.httpclient.NTML.java
  org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.java
- HttpClient should again be runnable on Java 1.2.2
- All protocol related classes moved to org.apache.commons.httpclient.protocol package

Oleg




-----Original Message-----
From: Michael Becke [mailto:becke@u.washington.edu]
Sent: Tuesday, January 14, 2003 2:35 PM
To: Commons Project
Subject: Fwd: [PATCH] Dependancy on Java 1.4


Oleg,

Here are the files.  The classes in the new package 
(org.apache.commons.httpclient.protocol) are attached separate from the 
patch file.

Enjoy,

Mike

Begin forwarded message:

> From: Michael Becke <be...@u.washington.edu>
> Date: Sun Jan 5, 2003  9:58:25 PM US/Eastern
> To: "Commons HttpClient Project" 
> <co...@jakarta.apache.org>
> Subject: [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
>
>

Re: [PATCH] Dependancy on Java 1.4 fix (attempt 2)

Posted by Jeffrey Dever <js...@sympatico.ca>.
Checked in by Odi on Jan 16.
(Just closing off this email thread)

Kalnichevski, Oleg wrote:

>Contributed by Michael Becke
>
>Changelog:
>- HttpClient has now only two compile-time dependencies on Java 1.4
>  org.apache.commons.httpclient.NTML.java
>  org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.java
>- HttpClient should again be runnable on Java 1.2.2
>- All protocol related classes moved to org.apache.commons.httpclient.protocol package
>
>Oleg
>
>
>
>
>-----Original Message-----
>From: Michael Becke [mailto:becke@u.washington.edu]
>Sent: Tuesday, January 14, 2003 2:35 PM
>To: Commons Project
>Subject: Fwd: [PATCH] Dependancy on Java 1.4
>
>
>Oleg,
>
>Here are the files.  The classes in the new package 
>(org.apache.commons.httpclient.protocol) are attached separate from the 
>patch file.
>
>Enjoy,
>
>Mike
>
>Begin forwarded message:
>
>  
>
>>From: Michael Becke <be...@u.washington.edu>
>>Date: Sun Jan 5, 2003  9:58:25 PM US/Eastern
>>To: "Commons HttpClient Project" 
>><co...@jakarta.apache.org>
>>Subject: [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
>>
>>
>>    
>>
>>------------------------------------------------------------------------
>>
>>--
>>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>>For additional commands, e-mail: <ma...@jakarta.apache.org>
>>