Skip to main content

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:Unable to contribute to editor menus using org.eclipse.ui.menus
Next Topic:Override PropertiesActionProvider in Navigator
Goto Forum:

Current Time: Mon Mar 08 17:32:29 GMT 2021

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

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

Back to the top