On Tue, 2014-02-11 at 09:18 -0500, Gary Gregory wrote: > On Tue, Feb 11, 2014 at 8:58 AM, Oleg Kalnichevski <ol...@apache.org> wrote:
... > > --- > > RequestConfig config = RequestConfig.custom() > > .setTargetPreferredAuthSchemes(Arrays.asList("BASIC")) > > > > Wouldn't an enum be more helpful here? > > Otherwise, I have to do more digging to find other strings are allowed. > > Gary > Authentication schemes are pluggable. We cannot limit auth scheme names to a fixed set but be could have an overloaded method that accepts enum values representing standard schemes. I am not sure it is worth the trouble but it is doable. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org