Spring WebFlux client provides many ways to process the responses of our web requests. We look at a few techniques to process the response body, based on status code, using functional programming.
Also find me here:
Baeldung Author
Liam Garvie
I'm a Java/Spring software developer focusing on backend cloud-native distributed systems. I also have a keen interest in software security, focusing mainly on the blue team.
Here's what I've written (so far):
Baeldung on Java
- All
- Java (3)
- Testing (1)
- Spring MVC (1)
- Security (1)
- Reactive (1)
- REST (1)
- Architecture (1)
New Features in Java 16
Filed under Java
Java 16 brings a series of improvements to the language, including increments to records, sealed classes and switch statements. We review some of the new features as well as looking at some capabilities that are going away.
Pub-Sub vs. Message Queues
Filed under Architecture
In this tutorial, we’ll look at the use of message queues and publishers/subscribers. These are common patterns used in distributed systems for two or more services to communicate with one another.
Private Methods in Java Interfaces
Filed under Java
Learn how to define private methods within an interface and how we can use them from both static and non-static contexts.
Deserialization Vulnerabilities in Java
Filed under Java
Learn how an attacker can use deserialization in Java to exploit a system.
Long Polling in Spring MVC
Filed under Spring MVC
Learn how to implement long polling in Spring MVC using DeferredResult and how to test it.
Decode a JWT Token in Java
JWT is used to provide a user’s credentials to a web service. We look at how to read the contents of a JWT and verify its authenticity.
Write Extracted Data to a File Using JMeter
Filed under Testing
Sometimes we need to write our JMeter test data into a file. Let’s explore how we can do that.