Interface Fetcher
-
- All Implemented Interfaces:
public interface Fetcher
-
-
Method Summary
Modifier and Type Method Description abstract Responsefetch(String url)abstract Responsefetch(String url, VolatileConfig conf)abstract ResponsefetchContent(WebPage page)Fetch page content. abstract ResponsefetchDeferred(String url)Fetch a url. abstract ResponsefetchDeferred(String url, VolatileConfig volatileConfig)Fetch a url. abstract ResponsefetchContentDeferred(WebPage page)Fetch page content. -
-
Method Detail
-
fetchContent
abstract Response fetchContent(WebPage page)
Fetch page content.
- Parameters:
page- the page to fetch- Returns:
the response
-
fetchDeferred
abstract Response fetchDeferred(String url)
Fetch a url.
- Parameters:
url- the url to fetch- Returns:
the response
-
fetchDeferred
abstract Response fetchDeferred(String url, VolatileConfig volatileConfig)
Fetch a url.
- Parameters:
url- the url to fetch- Returns:
the response
-
fetchContentDeferred
abstract Response fetchContentDeferred(WebPage page)
Fetch page content.
- Parameters:
page- the page to fetch- Returns:
the response
-
-
-
-