hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: [HttpCore] API vs. Implementation
Date Fri, 02 Feb 2007 18:50:05 GMT
On Fri, 2007-02-02 at 18:44 +0100, Roland Weber wrote: 
> Hi folks,
> 
> I just noticed that we have dependencies from API classes
> to implementation classes. The one I stumbled across is
> AbstractHttpMessage, which depends on DefaultHttpParams.
> 
> Is there a consensus that the API classes and interfaces
> should never depend on any implementation package?
> 
> cheers,
>   Roland

Here's my take. No impl classes in public methods (and hence
interfaces). I do not see a problem with using impl class internally if
they never get exposed to the consumer.

Oleg


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


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


Mime
View raw message