Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
java
java
{"Customer ":{"id":"123","name":"john"}}

DOMSource support

You can also receive the request as a DOMSource object or return a DOMSource object as response:

Code Block
java
java
{code:java}

h3. DOMSource support

You can also receive the request as a DOMSource object or return DOMSource object as response:

{code:java}
@UriTemplate("/bookstorecustomerservice/")
public class BookStoreCustomerService {
    @HttpMethod("GETPUT")
    @UriTemplate("/customers/{customerId}/")
    public javax.xml.transform.dom.DOMSource getCustomer(@UriParam("customerId") String idupdateCustomer(javax.xml.transform.dom.DOMSource ds) {
        ....
    }
}

Configuring JAX-RS services

...