On 24/05/2008, Sam Berlin <[EMAIL PROTECTED]> wrote:
> Depending on the timeframe, I think this means httpcore has to have a
>  beta2 sooner, too.  (Can a release of httpclient rely on a snapshot of
>  httpcore?)

For full releases no, but I'm not sure beta releases need to be
restricted that way

On the API freeze, I've not actually had a chance to try httpclient yet.

For classes that are intended to be threadsafe, it's worth trying to
make them immutable as far as possible to reduce the number of states
they can be in. In particular, if class variables can be set via
constructors, having set/get methods as well means that the variables
have to be volatile - or the methods must be synchronized (and the
class itself must use synch. if the variables are accessed through
other methods). Final variables are a lot easier to deal with, so
consider dropping the set methods if they aren't essential.

Another point is visibility of variables - as far as possible these
should be private.
It's easy to relax the restriction later if necessary. This is
particularly important for classes that must be threadsafe.

>
>  Sam
>
>
>  On Sat, May 24, 2008 at 7:03 AM, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote:
>  > Folks
>  >
>  > The redesign of HttpClient is now complete. All known problems with the
>  > old (3.x) API and architecture limitations have been resolved. All
>  > features planned for the 4.0 release are now in place.
>  >
>  > Due to the release schedule of one of our upstream projects we will have
>  > to freeze the 4.0 API rather sooner than later. The next release is
>  > likely to be BETA1 not ALPHA5, as initially planned.
>  >
>  > If your project depends on HttpClient, this is the time to check the new
>  > API out and let us know what you think. If we do not get more feedback /
>  > change requests, the current SVN snapshot is very likely to be the API
>  > HttpClient 4.0 will ship with. If you ever wanted to have something
>  > fixed or improved in HttpClient API, this is pretty much the last chance
>  > to ask for it.
>  >
>  > The current SVN snapshot can be found here:
>  >
>  > http://people.apache.org/~olegk/4.0-API-review/
>  >
>  > Oleg
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to