Sergey Beryozkin created CXF-6447:
-------------------------------------

             Summary: JAXRS proxies should be able to resolve path parameters 
from the request body bean
                 Key: CXF-6447
                 URL: https://issues.apache.org/jira/browse/CXF-6447
             Project: CXF
          Issue Type: Improvement
          Components: JAX-RS
            Reporter: Sergey Beryozkin
            Assignee: Sergey Beryozkin
            Priority: Minor
             Fix For: 3.0.6, 3.1.2


Given a request body bean such as Book: 

{code:java}
public interface BookStore {
 @Path("{id}") 
 @PUT
 public void update(Book book) {
 }
}
{code}

the following proxy code should work:

{code:java}
BookStore store = JAXRSClientFactory.create(BookStore.class);
store.update(new Book("CXF", 125));
{code}

where Book contains an initialized 'id' property





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to