powered by Jive Software

Connection through HTTP proxy

Does smack support connections through HTTP proxies?

I did not find anyway of doing it by looking at the documentation.

Message was edited by: mbutu

No, Smack does not support connecting through an HTTP proxy at this time.

Regards,

Matt

Are you planning on supporting connections through HTTP proxies?

BR

Mbutu

mbutu,

Not anytime soon. However, someone could write a servlet that acted as the proxy (using Smack as the backend)without a ton of work. Perhaps you could consider that as an option?

Regards,

Matt

Could you describe the servlet solution in more detail.

I would like to connect like this:

smack->proxy->|firewall|->jabber.org

Would the servlet solution look like this:

smack->servlet->proxy->|firewall|->jabber.org

That is not really an option.

BR

Mbutu

No, the servlet solution would probably look more like:

http://devel.amessage.info/

Basically, you’'d use a non-Smack API on the client, sending HTTP requests to the servlet, which in turn passes them onto Jabber (via Smack or some other API).