com.beasys.commerce.util
Class ShowHTTPHeaders
java.lang.Object
|
+--com.beasys.commerce.util.ShowHTTPHeaders
- public class ShowHTTPHeaders
- extends java.lang.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.
Method Summary |
static void |
main(java.lang.String[] args)
Command-line entry point. |
static void |
usage(java.io.PrintStream out)
Print a usage statement to the output stream. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ShowHTTPHeaders
public ShowHTTPHeaders()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Command-line entry point.
- Throws:
- java.lang.Exception - thrown on any failure (generally either a
MalformedURLException or an IOException).
usage
public static void usage(java.io.PrintStream out)
- Print a usage statement to the output stream.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved