|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
|
+--org.apache.commons.feedparser.network.BaseResourceRequest
|
+--org.apache.commons.feedparser.network.BlockingResourceRequest
A blocking request that waits for a specified or random amount of time. SCHEME - block://localhost/?duration=100
| Field Summary | |
|---|---|
static java.lang.String |
SCHEME
|
| Fields inherited from class org.apache.commons.feedparser.network.BaseResourceRequest |
|---|
FOLLOW_REDIRECTS |
| Constructor Summary | |
|---|---|
BlockingResourceRequest()
|
|
| Method Summary | |
|---|---|
java.io.InputStream |
getInputStream()
Get an input stream for this content. |
void |
init()
Perform all initialization and connection to the remote server. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class org.apache.commons.feedparser.network.BaseResourceRequest |
|---|
fireDataEvent, fireDataEvent, fireInit, fireOnClosed, getContentLength, getEtag, getFollowRedirects, getHeaderField, getIfModifiedSince, getInputStreamAsByteArray, getInputStreamAsString, getLocalInputStream, getLocalInputStreamAsByteArray, getRequestHeaderField, getRequestHeaderFields, getResource, getResourceFromRedirect, getResponseCode, setEtag, setEventListener, setFollowRedirects, setIfModifiedSince, setLocalCache, setRequestHeaderField, setRequestMethod, setResource, setResponseCode, toOutputStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.commons.feedparser.network.ResourceRequest |
|---|
getContentLength, getEtag, getFollowRedirects, getHeaderField, getIfModifiedSince, getInputStreamAsByteArray, getInputStreamAsString, getLocalInputStream, getLocalInputStreamAsByteArray, getRequestHeaderField, getRequestHeaderFields, getResource, getResourceFromRedirect, getResponseCode, setEtag, setEventListener, setFollowRedirects, setIfModifiedSince, setLocalCache, setRequestHeaderField, setRequestMethod, setResource, setResponseCode, toOutputStream |
| Field Detail |
public static final java.lang.String SCHEME
| Constructor Detail |
public BlockingResourceRequest()
| Method Detail |
public void init()
throws java.io.IOException
ResourceRequest
init in interface ResourceRequestjava.io.IOException
public java.io.InputStream getInputStream()
throws java.io.IOException
ResourceRequest
getInputStream in interface ResourceRequestjava.io.IOExceptionpublic static void main(java.lang.String[] args)
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||