users@jersey.java.net

Re: Heads up on breaking changes to the trunk

From: Nam Nguyen <Nam.Nguyen_at_Sun.COM>
Date: Tue, 11 Dec 2007 14:46:24 -0800

Hi Paul,

Are all planned 0.5 API changes in? Would there be a @PathParam
replacing @UriParam ?

-Nam


Paul Sandoz wrote:
> Hi,
>
> I just want to give a heads up on breaking changes to the trunk that
> will be occurring over the next couple of days as we transition from
> the 0.4 JAX-RS API to the 0.5 API.
>
> I plan to transition over a couple of steps rather than all in one go,
> so as is the case now, there will be an intermediate version of the
> JAX-RS API in between 0.4 and 0.5.
>
> All changes will be documented in the changes.txt.
>
> First up in terms of API changes will be the following:
>
> - java.ws.rs.UriTemplate renamed to java.ws.rs.Path
> - javax.ws.rs.core.UriInfo has the following changes
> - renamed method getBase to getBaseUri
> - renamed method getBaseBuilder to getBaseUriBuilder
> - renamed method getAbsolute to getAbsolutePath
> - renamed method getBuilder to getAbsolutePathBuilder
> - add methods getRequestUri and getRequestUriBuilder
>
> Next up is a non JAX-RS API related change that will remove tool time
> WADL generation. This will be replaced by dynamic generation (to be
> implemented later) that works from the abstract resource model that
> Jakub has committed to the trunk. The end result should be the same
> from the client perspective of GET'ing WADL.
>
> Next up is the refactoring of @HttpMethod to @GET, @POST etc.
>
> Paul.
>