Network Deployment (Distributed operating systems), v8.0 > End-to-end paths > Web services - RESTful services > Use content negotiation to serve multiple content types in JAX-RS applications
Previous Step Next Step
Implement content negotiation to serve multiple content types
Step 4: Use content negotiation to serve multiple content types in JAX-RS applications JAX-WSUse content negotiation to determine the best resource representation for the server to return to the client. We can implement content negotiation based on URL patterns, request parameters, or HTTP headers.
Configure the JAX-RS application.
Procedure
- Implement content negotiation based on URL patterns
- Implement content negotiation based on request parameters
- Implement content negotiation based on HTTP headers
Support information (generally applicable)
- Implement content negotiation based on URL patterns
- Implement content negotiation based on request parameters
- Implement content negotiation based on HTTP headers
What to do next
Assemble JAX-RS web applications.
Previous Step Next Step