Implement content negotiation to serve multiple content types.

Before you begin

Configure the JAX-RS application.

About this task

Step 4 towards the goal: Using content negotiation to serve multiple content types in JAX-RS applications

Use content negotiation to determine the best resource representation for the server to return to the client. You can implement content negotiation based on URL patterns, request parameters, or HTTP headers.

Procedure

What to do next

Assemble JAX-RS web applications.
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 17, 2014 10:32 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-express-iseries&topic=twbs_jaxrs_contentnegotiation_step4
File name: twbs_jaxrs_contentnegotiation_step4.html