Skip to content
A simple HTTP proxy that can be used inside Java Servlet environments like Wicket, JavaSpark etc. or inside a ServletFilter.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/com/indoqa/httpproxy
.gitignore
CHANGELOG.md
Jenkinsfile
LICENSE
NOTICE
README.md
pom.xml

README.md

indoqa-http-proxy

A simple http proxy that can be used inside Java Servlet environments like Wicket, JavaSpark etc. or inside a ServletFilter. Inspired by the simplicity of node-http-proxy it delegates all requests after a proxyMountPath to another server definded by targetBaseUrl.

HttpProxy httpProxy = new HttpProxyBuilder("/proxy/mount/path", "http://targer.url/mount/path").build();

HttpServletRequest request = ..
HttpServletResponse response = ..

httpProxy.proxy(request, response);
GET http://servlet.host/proxy/mount/path/api/v1/testresource 
 -> http://targer.url/mount/path/api/v1/testresource
You can’t perform that action at this time.