jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: [jax-rs-spec users] Changing package for HttpResponse and HttpRequest

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Mon, 15 Aug 2011 10:44:31 +0200

..or just send me a patch :)

Marek


On 08/12/2011 09:26 PM, Sergey Beryozkin wrote:
> Ok, javadocs states that HttpResponse is a client side one. Guess that needs to be fixed - can create JIRA if agreed
>
> Sergey
> ________________________________________
> From: Marek Potociar [marek.potociar_at_oracle.com]
> Sent: 12 August 2011 12:51
> To: jsr339-experts_at_jax-rs-spec.java.net
> Subject: [jsr339-experts] Re: [jax-rs-spec users] Changing package for HttpResponse and HttpRequest
>
> The idea behind HttpRequest/Response is to be usable in filters and handlers on both client and server side. Thus they reside in the core package. These classes are also meant to fix and extend the Request and Response components introduced in JAX-RS 1.x in a BW-compatible way.
>
> Marek
>
>
>
> On 12. 8. 2011, at 11:00, Sergey Beryozkin wrote:
>
>> Hi
>>
>> Newly introduced HttpResponse and HttpRequest classes are in javax.ws.rs.core.
>> However they are clearly defined as client-side ones.
>>
>> Can we get them moved to javax.ws.rs.client ? That will also help to minimize a number of user queries as to why we have
>> javax.ws.rs.core.Response and javax.ws.rs.core.HttpResponse
>>
>> thanks, Sergey
>>
>>
>