<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>web development helpdesk &#187; http</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/http/feed" rel="self" type="application/rss+xml" />
	<link>http://helpdesk.objects.com.au</link>
	<description>objects quality - the visible difference</description>
	<lastBuildDate>Sun, 17 Jul 2011 12:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>How to write GET response to byte array?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-write-get-response-to-byte-array?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-write-get-response-to-byte-array</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-write-get-response-to-byte-array#comments</comments>
		<pubDate>Wed, 18 Feb 2009 02:05:32 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[ByteArrayOutputStream]]></category>
		<category><![CDATA[GET]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[URLConnection]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=798</guid>
		<description><![CDATA[To send a HTTP GET request using Java can be done with the URL class. The openStream() method will send the GET request and return an input stream that can be used to read the HTTP response. Wrapping the stream in a BufferedInputStream can be done to improve the I/O performance. The ByteArrayOutputStream makes it [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-write-get-response-to-byte-array/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to tell a Java application to use a proxy server?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-tell-a-java-application-to-use-a-proxy-server?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-tell-a-java-application-to-use-a-proxy-server</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-tell-a-java-application-to-use-a-proxy-server#comments</comments>
		<pubDate>Mon, 08 Dec 2008 03:08:14 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[system property]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=661</guid>
		<description><![CDATA[Set the following system properties http.proxyHost http.proxyPort java -Dhttp.proxyHost=proxy.objects.com.au -Dhttp.proxyPort=8080 au.com.objects.MyApplication To do the same programatically use the System classess setProperty() method System.setProperty(&#34;http.proxyHost&#34;, proxyHostname); System.setProperty(&#34;http.proxyPort&#34;, proxyPort); Related posts: How to specify a proxy server when using ftp protocol? Set the following system properties ftp.proxyHost ftp.proxyPort java -Dftp.proxyHost=proxy.objects.com.au -Dftp.proxyPort=80... Is the proxySet system property required to [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-tell-a-java-application-to-use-a-proxy-server/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How can username be remembered between logins?</title>
		<link>http://helpdesk.objects.com.au/java/how-can-username-be-remembered-between-logins?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-can-username-be-remembered-between-logins</link>
		<comments>http://helpdesk.objects.com.au/java/how-can-username-be-remembered-between-logins#comments</comments>
		<pubDate>Mon, 01 Dec 2008 11:21:52 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[application server]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jsp]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[login]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=650</guid>
		<description><![CDATA[You can store the username of a visitor to your site in a cookie stored on their computer. You send the cookie with the http response, for example when they login. Cookie cookie= new Cookie(&#34;username&#34;, username); cookie.setMaxAge(3600); response.addCookie(cookie); Related posts: How do I get the cookies from a HTTP connection? Cookies are specified in the [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-can-username-be-remembered-between-logins/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I specify a different HTTP proxy for each connection?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-specify-a-different-http-proxy-for-each-connection?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-specify-a-different-http-proxy-for-each-connection</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-specify-a-different-http-proxy-for-each-connection#comments</comments>
		<pubDate>Wed, 19 Nov 2008 21:54:01 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=557</guid>
		<description><![CDATA[The Proxy class can be used specify proxy details at the connection level. SocketAddress addr = new InetSocketAddress(&#34;proxy.objects.com&#34;, 88); Proxy proxy = new Proxy(Proxy.Type.HTTP, addr); URL url = new URL(&#34;http://java.sun.com/&#34;); URConnection conn = url.openConnection(proxy); Related posts: How do I specify a different SOCKS proxy for each connection? The Proxy class can be used specify proxy [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-specify-a-different-http-proxy-for-each-connection/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I get the cookies from a HTTP connection?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-get-the-cookies-from-a-http-connection?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-get-the-cookies-from-a-http-connection</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-get-the-cookies-from-a-http-connection#comments</comments>
		<pubDate>Wed, 01 Oct 2008 12:11:47 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[http]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=316</guid>
		<description><![CDATA[Cookies are specified in the response header keyed on &#8216;Set-Cookie&#8217; so the getHeaderFields() method of URLConnection can be used to retrieve them. URLConnection conn = new url.openConnection(); Map&#60;String,List&#60;String&#62;&#62; headers = conn.getHeaderFields(); List&#60;String&#62; cookies = headers.get(&#34;Set-Cookie&#34;); for (String cookie: cookies) { System.out.println(cookie); } Related posts: How do I specify a different HTTP proxy for each connection? [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-get-the-cookies-from-a-http-connection/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

