Quarkus Content Negotiation Example with Java

A Quarkus example app that shows how to develop REST endpoints that uses server-side content negotiation to return different responses for different types of API clients.

Please read Content Negotiation with a Java MicroProfile Application to see how this app was created.

Prerequisites: Java 11.

Getting Started

To install this example application, run the following commands:

git clone https://github.com/oktadeveloper/quarkus-content-negotiation-example.git
cd quarkus-content-negotiation-example

This will get a copy of the project installed locally. To run the example, run the following command:

./mvnw compile quarkus:dev

Help

Please post any questions as comments on the blog post, or visit our Okta Developer Forums.

License

Apache 2.0, see LICENSE.