Question
Write a small Java application that can be used as a client for the given REST endpoint. In detail, you should 1. Create a Java
Write a small Java application that can be used as a client for the given REST endpoint. In
detail, you should
1. Create a Java Class UserDTO that contains the fields id, email, firstName and
lastName.
2. Create a Java Class UserClient that contains a method for querying the first page
of the given REST endpoint. Please make sure that the result is returned as
List
3. Add a main method to UserClient that calls the above method and also prints the
firstName and lastName of each user to the console.
You are free to choose your favorite libraries or frameworks to achieve the goals looking for guidance and structure can you provide?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started