com.sun.jini.start
Class HTTPDStatus

java.lang.Object
  extended bycom.sun.jini.start.HTTPDStatus

public class HTTPDStatus
extends Object

Class which can be used to print a descriptive warning message if a codebase accessibility problem is found.


Constructor Summary
HTTPDStatus()
           
 
Method Summary
static void httpdWarning(String codebase)
          Method that takes a codebase parameter and displays a warning message if it is determined that a potential codebase accessibility problem exists.
static void main(String[] args)
          Command line interface that checks the accessability of a desired JAR file(s), given its URL address.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPDStatus

public HTTPDStatus()
Method Detail

main

public static void main(String[] args)
Command line interface that checks the accessability of a desired JAR file(s), given its URL address. Note: The provided URL(s) cannot contain embedded spaces.

Parameters:
args - String array containing the command line arguments

httpdWarning

public static void httpdWarning(String codebase)
Method that takes a codebase parameter and displays a warning message if it is determined that a potential codebase accessibility problem exists.

Parameters:
codebase - String containing the codebase to poll for the existence of a running HTTP server with access to the JAR file referenced in this parameter


Copyright © 2004 Sun Microsystems, Inc. All rights reserved