[jax-rs-spec users] [jsr339-experts] Re: Re: Re: Concerns about the client-side exception hierarchy

From: Marek Potociar <>
Date: Fri, 24 Feb 2012 14:35:44 +0100

On 02/22/2012 02:41 PM, Bill Burke wrote:
> Well, the JAX-RS 2.0 spec is inconsistent on this sort of thing. We have methods in request/responsebuilder for http
> headers that are rarely used (allow for example) and don't have ones for things that are often used (accept).

Just to make sure I am not letting something important slip through the cracks - when you say we don't have support for
accept in RequestBuilder, what do you mean?


> We should do one or the other across the board. IMO, I don't see the problem with an explosion of methods/classes that
> cover hte HTTP specification. While Sergey may find BadRequestException unuseful, somebody else might.