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/14 16:02:32 UTC

[PATCH] ATTN Ortwin: Dependancy on Java 1.4 fix

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

Odi,
I believe Mike's patch is good to be committed. If you have any reservations, let's talk them through once you have more time on your hands

Cheers

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] ATTN Ortwin: Dependancy on Java 1.4 fix

Posted by Ortwin Glück <or...@nose.ch>.
There must be something wrong with the patch. It removes the Protocol 
class completely and the protocol package is not created (protocol 
classes still are in the httpclient package).

Could you fix this?