[jbosstools-issues] [JBoss JIRA] (JBIDE-10239) Support JAX-RS Path/PathParam refactoring
Marián Labuda (JIRA)
issues at jboss.org
Thu Nov 27 05:13:40 EST 2014
[ https://issues.jboss.org/browse/JBIDE-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marián Labuda updated JBIDE-10239:
----------------------------------
Labels: jax-rs (was: )
> Support JAX-RS Path/PathParam refactoring
> -----------------------------------------
>
> Key: JBIDE-10239
> URL: https://issues.jboss.org/browse/JBIDE-10239
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: webservices
> Affects Versions: 3.3.0.M4
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Priority: Minor
> Labels: jax-rs
> Fix For: 4.3.x
>
>
> When refactoring code like the one below:
> {code}
> @GET
> @Path("{id}")
> public Response getCustomer(@PathParam("id") Integer id, @Context UriInfo uriInfo) {
> ResponseBuilder responseBuilder = Response.ok().entity(null);
> return responseBuilder.build();
> }
> {code}
> If changing the 'id' name of the first parameter, the user may also want to rename the @PathParam and @Path values to keep the consistency.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jbosstools-issues
mailing list