API versioning using vender specific media types in JAX-RS

Content Negotiation in JAX-RS allows you to leverage the information in the client requests Accept header to map that request to a specific handler-method within your application. In combination with vendor-specific media types this approach can be used for versioning of an API. ...

June 10, 2019 · 2 min · schoeffm