ShowHTTPHeaders Class

DEPRECATED Use ShowHTTPHeaders

com.beasys.commerce.util
ShowHTTPHeaders Class

public class ShowHTTPHeaders

    extends Object

A command-line utility to display open an URL and display the HTTP headers coming back from the server.

This can also optionally display the body.

Usage: java com.beasys.commerce.util.ShowHTTPHeaders url [-body] [-verbose]
Specifying the -body option will print the body of the URL as well.
Specifying the -verbose option will display debug messages.


Hierarchy
Object
  ShowHTTPHeaders

Constructor Summary

ShowHTTPHeaders()

 

Method Summary

public static void
main(String[] args)
Command-line entry point.
public static void
usage(PrintStream out)
Print a usage statement to the output stream.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

ShowHTTPHeaders

public ShowHTTPHeaders()
 

Method Detail

main(String[]) Method

public static void main(String[] args)
throws Exception
Command-line entry point.

Exceptions

Exception
thrown on any failure (generally either a MalformedURLException or an IOException).

usage(PrintStream) Method

public static void usage(PrintStream out)
Print a usage statement to the output stream.