Thank you, that was my next question. :) 

>-----Original Message-----
>From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] 
>Sent: Saturday, August 27, 2005 2:18 PM
>To: HttpClient User Discussion
>Subject: Re: mixing HttpClient with URLConnection
>
>On Fri, 2005-08-26 at 13:44 -0700, Ivan Bojer wrote:
>> Our code uses HttpClient over HTTPS and everything is great.
>> Alas, there is a piece of code that uses URL.getConnection() that 
>> retrieves something from the same server that httpclient is 
>connecting 
>> to.
>>  
>> My question is:
>> Because we register our custom https protocol through 
>> Protocol.registerProtocol for every https call, does this mean that 
>> URL.getConnection will use our custom handler too?
>
>Ivan,
>
>No, it does not. HttpClient does not integrate into the 
>standard URLConnection framework in any form or fashion. You 
>can however configure both HttpClient and HttpsURLConnection 
>to share the same SSL context 
>
>Oleg
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: 
>[EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to