GetHeaderExample
-- getting header information from a URL.
To see this example in action:
Compile the Java source file, GetHeaderExample.java:
javac GetHeaderExample.java
Run the class:
java GetHeaderExample
The source.