Skip to content

rewolf/blog-webclient-payload-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logging WebClient Request and Response Payloads

Sometimes it's valuable to be able to log the serialized form of data. It is not intuitive how to do this with WebClient, but the blog above explains one method.

This repository provides a custom JSON encoder and decoder, as well as JUnit 5 tests that verify these codecs.

Running the tests

./gradlew clean test