On Tue, 2011-04-26 at 01:04 -0700, harikris wrote:
> It worked only when we did the scheme register like this
>               Scheme sch = new Scheme("https", 443, socketFactory);
>               SchemeRegistryFactory.createDefault().register(sch);
> 

This code has no effect, as the instance created by
SchemeRegistryFactory.createDefault() is not static. Take a look at the
source code.

You can simply remove these two lines.

Oleg

> We were using  as below that does not seem to be working
> 
>               Scheme sch = new Scheme("https", 443, socketFactory);
>         
> httpClient.getConnectionManager().getSchemeRegistry().register(sch);          
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to