When working with RESTful web services, it is often useful to be able to trace requests to better understand what is happening. Fortunately, this is relatively easy to do with WildFly and Resteasy. In this article, we will look at how to configure tracing for REST requests using an enhancement available in WildFly 28.
RESTEasy is a JBoss / Red Hat project that provides various frameworks to help you build RESTful Web Services and RESTful Java applications. It is an implementation of the Jakarta RESTful Web Services, an Eclipse Foundation specification that provides a Java API for RESTful Web Services over the HTTP protocol.
Moreover, RESTEasy also implements the MicroProfile REST Client specification API.
How to Log the REST Request and Response
This article discusses a simple strategy to debug the Request and Response from a Jakarta EE Rest Service using Filters and CDI annotations.
Using REST Services to upload and download files
This REST Service tutorial is a quick guide for handling files upload and download using REST Services. We will create and test a Rest Service to upload and download files using JAX-RS API. Finally, we will show how to build a JUnit 5 Test to test files uploading using RESTEasy Client API. Uploading and Downloading … Read more
How to Cache the Response with RestEasy
Resteasy is a popular Java framework for building RESTful web services. One of its features is the ability to cache HTTP responses using the @Cache and @NoCache annotations.
Solving “Could not find MessageBodyWriter for response object of type”
This article discusses the steps to solve the error “org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type” that you can have at runtime in a REST application.
How to test REST Services with RestAssured
In this tutorial, we will be discussing REST Assured framework to Test JAX-RS Web services. This tutorial is designed for RESTAssured beginners, but even experienced users may find some useful tips and tricks.
Getting started with Jakarta RESTful Services
The latest release of RESTEasy (6.1.0) provides an implementation for Jakarta RESTful Web Services 3.1. which is a core component of Jakarta EE 10. Let’s review through this article which are the core features of Jakarta Rest Services.
Testing REST Services with Postman
Postman is a popular tool for testing APIs in a user-friendly graphical environment. You can use Postman to send API requests to any REST API and receive replies. In this article we will learn how to use it to test a JAX-RS Application which exposes CRUD Endpoints Postman in a nutshell Firstly, you need to … Read more
How to use Parameters in REST Services
In this tutorial, we will learn how to use parameters in Java API for RESTful Web Services (JAX-RS) to pass data to the server and receive data from the server.
How to validate Jakarta REST parameters
This article is a walk through the available options to perform validation of REST Endpoint parameters using Jakarta EE. We will show both Bean validation and Entity validation of a REST Service endpoint.