|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.voidsearch.voidbase.client.VoidBaseHttpClient
com.voidsearch.voidbase.apps.feedq.connector.fetcher.HttpFeedFetcher
public class HttpFeedFetcher
| Field Summary |
|---|
| Fields inherited from class com.voidsearch.voidbase.client.VoidBaseHttpClient |
|---|
client, hostname, module |
| Constructor Summary | |
|---|---|
HttpFeedFetcher()
|
|
| Method Summary | |
|---|---|
FeedResource |
fetch(java.lang.String resourceName)
fetch the entire content of resource and factor a appropriate FeedResource |
byte[] |
fetchRaw(java.lang.String resource)
get default-size byte array from the given resource |
byte[] |
fetchRaw(java.lang.String resource,
int size)
Http-specific tail reader - need to fetch entire content and return last size bytes |
| Methods inherited from class com.voidsearch.voidbase.client.VoidBaseHttpClient |
|---|
get, get, post |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpFeedFetcher()
| Method Detail |
|---|
public byte[] fetchRaw(java.lang.String resource)
throws java.lang.Exception
fetchRaw in interface FeedFetcherresource - resource to fetch
java.lang.Exception
public byte[] fetchRaw(java.lang.String resource,
int size)
throws java.lang.Exception
fetchRaw in interface FeedFetcherresource - resource to fetchsize - buffer size to fetch
java.lang.Exception
public FeedResource fetch(java.lang.String resourceName)
throws java.lang.Exception
FeedFetcher
fetch in interface FeedFetcherresource -
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||