hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Allow access to default HttpParams
Date Tue, 14 Dec 2010 13:27:36 GMT
> >
> > Makes sense to me.
> How about adding entrySet() to the HttpParams interface?

We can't do that

> Without that, DefaultedHttpParams has to assume that its local
> HttpParams extends AbstractHttpParams.
> Changing the interface would of course break any code that implements
> the HttpParams interface without extending AbstractHttpParams.
> I suppose one could extend the HttpParams interface to add the
> entrySet, and have AbstractHttpParams implement that instead.

An extended or an optional interface should be ok, though 

How about an optional interface or something similar?

interface HttpParamSet {
  Iterator iterator();


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

View raw message