Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Using a with a proxy
Using a with a proxy [message #499470] Sun, 22 November 2009 21:23
Lance Walton is currently offline Lance WaltonFriend
Messages: 5
Registered: July 2009
Junior Member

I want to HTTP POST some stuff from an Eclipse plugin to a server. To do this, I create a URLConnection, set its doOutput property, get it's outputSream, squirt my stuff up the output stream and then read the response.

This works perfectly well when I run the server locally. However, when I try to use it through a proxy, it doesn't connect. I know I can contact the server through the proxy because if I put the URL into a browser, I can see it connect.

I know that Eclipse has got it's own bits and pieces for dealing with a proxy. How do I use this to achieve my goal?


Previous Topic:Using IWorkbenchPage#hideEditor to confine editor to a single perspective
Next Topic:eclipse perspective extension: run in eclipse platform
Goto Forum:

Current Time: Thu Apr 26 13:53:19 GMT 2018

Powered by FUDForum. Page generated in 0.01734 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software