hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: How do I reset the scheme registry to the default?
Date Fri, 20 May 2011 16:11:22 GMT
On Thu, 2011-05-19 at 23:20 +0000, KARR, DAVID (ATTSI) wrote:
> I have a method that configures the scheme registry in a couple of different ways, depending
on configuration parameters.  These parameters can be set "live" at run time, after the system
starts up.  I'm allowing for the possibility of having to reconfigure the scheme registry.
 What I need to determine is how I can set the scheme registry to its defaults, in case none
of the configuration flag checks succeed.  I don't see an obvious way to do that.

  new Scheme("http", 80, PlainSocketFactory.getSocketFactory()));
  new Scheme("https", 443, SSLSocketFactory.getSocketFactory()));

Hope this helps


To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org

View raw message