cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6447) JAXRS proxies should be able to resolve path parameters from the request body bean
Date Tue, 09 Jun 2015 13:06:00 GMT
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)

Mime
View raw message