users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: always close Response after InvocationCallback?

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Wed, 13 Feb 2013 18:11:27 +0100

Will do. Thanks,
Marek

On Feb 11, 2013, at 9:07 PM, Bill Burke <bburke_at_redhat.com> wrote:

> I think it might be wise to put language in the InvocationCallback interface javadoc that states that when a completed() or failed() method is finished, the underlying Response object will be closed(). This will save the user from having to write a lot of boilerplate code to make sure the Response object is closed.
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com