monkeyWie / proxyee

HTTP proxy server,support HTTPS&websocket.MITM impl,intercept and tamper HTTPS traffic.
MIT License
1.52k stars 567 forks source link

怎样避免 proxyee 真正去访问 service? #57

Open shiqicai opened 5 years ago

shiqicai commented 5 years ago

我参照这个用例,mock 了 service 返回的内容给 client. https://github.com/monkeyWie/proxyee/blob/master/src/test/java/com/github/monkeywie/proxyee/InterceptRedirectHttpProxyServer.java 但是重载 handelResponse 之后, 发现 proxyee 依旧会访问 service. 如何避免这一点呢?

monkeyWie commented 5 years ago

把你的代码贴出来看看