public static class ApacheStatusPoller.URLStatusFetcher extends java.lang.Object implements ApacheStatusPoller.StatusFetcher
URL class.| Constructor and Description |
|---|
URLStatusFetcher(java.lang.String url)
Fetch an apache status page using the given URL passed as a String.
|
URLStatusFetcher(java.net.URL url)
Fetch an apache status page using the given URL.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
fetchStatus()
Return the apache status page as an
InputStream. |
public URLStatusFetcher(java.lang.String url)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic URLStatusFetcher(java.net.URL url)
public java.io.InputStream fetchStatus()
throws java.io.IOException
ApacheStatusPoller.StatusFetcherInputStream.fetchStatus in interface ApacheStatusPoller.StatusFetcherjava.io.IOException