public class HTTPDStatus extends Object
| Modifier and Type | Field and Description |
|---|---|
private static Logger |
logger
Config logger.
|
| Modifier | Constructor and Description |
|---|---|
private |
HTTPDStatus() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
drainStream(InputStream is)
Reads and discards all data from a given input stream.
|
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. |
private static final Logger logger
public static void main(String[] args)
URL address.
Note: The provided URL(s) cannot contain embedded spaces.args - String array containing the command line
argumentspublic static void httpdWarning(String codebase)
codebase
parameter and displays a warning message if
it is determined that a potential codebase
accessibility problem exists.codebase - String containing the codebase to poll
for the existence of a running HTTP server with
access to the JAR file referenced in this parameterprivate static void drainStream(InputStream is) throws IOException
is - the InputStream from which to read dataIOExceptionCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.