|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--spider.util.Fetcher
Fetches HTTP pages and various details from its response header
Field Summary | |
int |
max_redirect
maximum redirections possible |
int |
MAX_SIZE
Max data to get (KB) |
int |
TIMEOUT
timeout in seconds |
Constructor Summary | |
Fetcher()
|
Method Summary | |
Page |
fetch(java.lang.String pageURL,
java.lang.String eMail)
fetches a page and returns a Page type object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int TIMEOUT
public int MAX_SIZE
public int max_redirect
Constructor Detail |
public Fetcher()
Method Detail |
public Page fetch(java.lang.String pageURL, java.lang.String eMail)
eMail
- - e-mail address to go with the HTTP request
Page
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |