I am goning to build a java class which gets the http request or response, by an algorithm tries to find some strings in them, log them and forwards the response to the client.
so, I need a reverse proxy to fetch the request, but First, I don't know which webservers such s apache (mod_proxy), tomcat, etc can act as a reverse proxy which has the api for java? Second, I don't know how to get the data from reverse proxy in java class?