dev@jsr311.java.net

Re: JSR311: Response isn't adequate

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 05 Mar 2008 17:42:50 -0500

Larry Cable wrote:
> Ah thanks for pointing that out Bill, I was getting confused by the optioms, +1 for r.getOuputStream()
>


As Marc said before, response.getOutputStream() would require some kind
of ThreadLocal tunnel and would forbid a user from extending
Response/ResponseBuilder. Still, I think this approach would be much
simpler and consistent with the common use of Response.

BTW, I don't understand why anybody would ever want to extend
Response/ResponseBuilder.

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com