There are various implementations of a reverse proxy http servlet, such as j2ep and https://www.eclipse.org/jetty/javadoc/jetty-9/org/eclipse/jetty/proxy/ProxyServlet.html
Is there an AEM/slingservlet solution around?
The requirement is for the client front end to call the AEM web server instead of an external 3rd party server, and AEM make the call to the 3rd party server. We dont want to use dispatcher as we want to be able to use servlet filters to modify the request and responses.
While we could write our own, its more complicated than one might think, e.g. handling redirects and masking connection specific headers.