<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting proxy server details in webstart app</title>
	<atom:link href="http://www.objectdefinitions.com/odblog/2008/getting-proxy-server-details-in-webstart-app/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.objectdefinitions.com/odblog/2008/getting-proxy-server-details-in-webstart-app/</link>
	<description>Software Development - random theories, code snippits and opinions</description>
	<lastBuildDate>Tue, 18 Oct 2011 23:30:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nick</title>
		<link>http://www.objectdefinitions.com/odblog/2008/getting-proxy-server-details-in-webstart-app/comment-page-1/#comment-8</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Mon, 17 Mar 2008 23:24:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.objectdefinitions.com/odblog/2008/getting-proxy-server-details-in-webstart-app/#comment-8</guid>
		<description>That&#039;s really good to know, thanks for the comment Mumin!</description>
		<content:encoded><![CDATA[<p>That&#8217;s really good to know, thanks for the comment Mumin!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mumin</title>
		<link>http://www.objectdefinitions.com/odblog/2008/getting-proxy-server-details-in-webstart-app/comment-page-1/#comment-7</link>
		<dc:creator>Mumin</dc:creator>
		<pubDate>Thu, 13 Mar 2008 18:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.objectdefinitions.com/odblog/2008/getting-proxy-server-details-in-webstart-app/#comment-7</guid>
		<description>Before you run the above code I&#039;ve found I had to set

System.setProperty(&quot;java.net.useSystemProxies&quot;, &quot;true&quot;);

otherwise the code above does not give me any proxies. Just gives back DirectConnection as the proxy-type.

If you just want to use whatever the system proxy setting is  and your are just using the standard java libraries for connection, setting the above property seems to enough. 

HttpClient 3 is not Java 5 aware however and doesn&#039;t pick up the Proxy setting (I think HttpClient 4 will do this in future). So you have to run the above code to extract out the proxyHost and proxyPort to use.</description>
		<content:encoded><![CDATA[<p>Before you run the above code I&#8217;ve found I had to set</p>
<p>System.setProperty(&#8220;java.net.useSystemProxies&#8221;, &#8220;true&#8221;);</p>
<p>otherwise the code above does not give me any proxies. Just gives back DirectConnection as the proxy-type.</p>
<p>If you just want to use whatever the system proxy setting is  and your are just using the standard java libraries for connection, setting the above property seems to enough. </p>
<p>HttpClient 3 is not Java 5 aware however and doesn&#8217;t pick up the Proxy setting (I think HttpClient 4 will do this in future). So you have to run the above code to extract out the proxyHost and proxyPort to use.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

