Method Summary |
|
public String | getServerName() Returns the server name as reported in the 'Server' header of HTTP
responses from the server. |
static void | readFully(HttpURLConnection theConnection) Fully reads the input stream from the passed HTTP URL connection to
prevent (harmless) server-side exception. |
public void | setCheckInterval(long theCheckInterval) Sets the time interval to sleep between polling the container. |
public void | setLog(Log theLog) Sets the log to write to. |
public void | setShutDownWait(long theShutDownWait) Sets the time to wait after the container has been shut down. |
public void | setTimeout(long theTimeout) Sets the timeout after which to stop trying to call the container. |
public void | setURL(URL theTestURL) Sets the HTTP/HTTPS URL that will be continuously pinged to check if the
container is running. |
public void | shutDownContainer() Method called by the task to perform the stopping of the container. |
public void | startUpContainer() Method called by the task to perform the startup of the container. |