Littleproxy forwards requets between war apps

84 views
Skip to first unread message

Mentus

unread,
Feb 27, 2017, 2:32:38 PM2/27/17
to LittleProxy
I have such a use case:

1. liteleproxy listens on 8080
2. forwards requests to my-proxy.war where a servlet filter wraps request by HttpServletRequestWrapper and adds some custom headers. Then servlet forwards request to another war app.
3. littleproxy intercepts forwarded request and based on one of added header forwards request to a proper app (i.e. app-1.1.war or app-1.2.war)

All apps are deployed on the same server. 

I'm wondering if I can use littleproxy with a given scenario. Can someone point me if it feasable usage for littleproxy? Thanks. 

Reply all
Reply to author
Forward
0 new messages