Class HTTPDStatus

java.lang.Object
com.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.
Author:
Sun Microsystems, Inc.
  • Method Summary

    Modifier and Type
    Method
    Description
    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
  • Method Details

    • 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