How to access HTTP response headers after making an HTTP request with Apache HttpClient

This is an excerpt from the Scala Cookbook (partially modified for the internet). This is a very short recipe, Recipe 15.12, “How to access HTTP response headers after making an HTTP request with Apache HttpClient.”


You need to access the HTTP response headers after making an HTTP request in your Scala code.


Use the Apache HttpClient library, and get the headers from the HttpResponse object after making a request:

Oracle's plans for Sun technologies: Java, MySQL, SPARC, Solaris, Sun Cloud, and OpenSSO

Here's a brief look at several news stories related to Oracle's purchase of Sun, along with direct links to Oracle documents detailing their plans for Sun technologies like Java and MySQL on the Oracle website.

Oracle plans for Java

Looking at various Oracle/Sun news stories, it looks like Java is safe for the time being. As one reporter at ZDNet says it, Oracle's Java strategy is 'business as usual'".

Java App Store

In a blog entry, Sun CEO Jonathan Schwartz writes about Project Vector, which he says will probably be renamed the Java Store. I know that a lot of companies are coming out with their own "stores" now, but for me, this is probably the most interesting Java announcement in years.

Tips about an OpenSSO getting started tutorial

This OpenSSO tutorial is probably the best "getting started with OpenSSO" tutorial around, but I'll add one caveat to it: Until you know what you're doing, just follow this tutorial to the letter, and I mean to the letter. Specifically, when they say "use Glassfish", you want to use Glassfish, and not something else, like Tomcat.

A collection of PHP scripts for OpenSSO

Before I get too far away from this code, I wanted to present my examples related to PHP and OpenSSO in a more logical order than the way in which I originally posted them. To that end, here is my collection of PHP/OpenSSO tutorials, showing how a PHP application can manually interact with an OpenSSO server in a single sign-on, identity-management world:

The link popularity of OpenSSO, WebSeal, and web tools

I've been working on a single sign-on project lately, evaluating both OpenSSO and IBM's trio of TIM, TAM, and WebSeal, and I noticed that Google has only 32,000 links to real WebSeal resources. By contrast, even as a young open source project, OpenSSO already has over 100,000 links.

Out of curiosity, I decided to google a variety of web languages and tools, and here are my search results: