I am looking for a way to process incoming requests in my Spring Boot application to check specific request headers and calculate a hash based on the incoming request data. I have found several solutions to create a filter but these do not match on the Servlet 3.0 spec.
The solution needs to read the incoming data from the input stream without affecting the filter chain. When i try to read the incoming data i get an error messages in other filters that the content was already consumed.
How can this be done without interfering with other filters?
I prefer a solution without using Spring Security, this to learn how this can be done.