+

Search Tips   |   Advanced Search

Implement content negotiation to serve multiple content types.

Configure the JAX-RS application.

Parent

Use 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. We can implement content negotiation based on URL patterns, request parameters, or HTTP headers.


What to do next

Assemble JAX-RS web applications.


Subtopics


Related tasks

  • Implement content negotiation based on URL patterns
  • Implement content negotiation based on request parameters
  • Implement content negotiation based on HTTP headers