how to return the correct representation based on URI
example
/text.json should return json
/text.xml should return xml
/text should return plain text
All these are mapped to the same method
@GET public Contact getContacts() {
}
how to return the correct representation based on URI
example
/text.json should return json
/text.xml should return xml
/text should return plain text
All these are mapped to the same method
@GET public Contact getContacts() {
}