开发者

How to set http proxy in JML Messenger Library

I'm developing a simple msn client using java, but i don't know how to set the http proxy paramete开发者_运维技巧rs using the JML library. Apparently it isn't native on the library =/


Just a thought: you could rely on the OS to have the proxy configured. There're a few pointers covering your various options here - I was wracking my brain trying to think of ways you could wrap a Messenger object within a roll your own class to redirect all traffic to your proxy but it looks to me as though JML only exposes fairly high level stuff - I was thinking in terms of setting up a Socket client connection to your proxy & redirecting a Stream through that, if there's anywhere JML exposes its session as a Stream or anything that can be easily turned into one. Sorry I'm not more help!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜