Implement custom entity formats.
Configure the JAX-RS application.
Parent
If the JAX-RS web application requires support for additional Java types or media types that are not supported by the JAX-RS APIs, we can add a custom entity provider to the application.
What to do next
Assemble JAX-RS web applications.
Subtopics
- Implement custom entity formats
JAX-RS enables developers to add a custom entity provider to the application. Use custom entity providers when to use Java types to represent incoming request message bodies as well as represent outgoing response message bodies. By adding a custom entity provider, we can deserialize custom Java types from message bodies and serialize any media type as message bodies.
Related tasks
Implement custom entity formats