# Uses of Class crawlercommons.fetcher.Payload (Crawler-commons 0.7 API)
Date: 2016-11-21

## Uses of Class
crawlercommons.fetcher.Payload

Packages that use Payload
crawlercommons.fetcher: The main fetching package within Crawler Commons, this package defines base fetching and encoding classes, Enum's to determine reasoning behind typical fetching behaviour as well as the base Exceptions which may be used.
crawlercommons.fetcher.file: <package> This package includes the `SimpleFileFetcher` code which extends the `BaseFetcher`.
crawlercommons.fetcher.http: This package concerns the fetching of files over the HTTP protocol: Extending from `BaseHttpFetcher` (which itself extends `BaseFetcher`) the `SimpleHttpFetcher` provides the Crawler Commons HTTP fetching implementation.

### Uses of Payload in crawlercommons.fetcher

Methods in crawlercommons.fetcher that return Payload
`Payload` FetchedResult.`getPayload()` Deprecated.

Methods in crawlercommons.fetcher with parameters of type Payload
`abstract FetchedResult` BaseFetcher.`get(String url, Payload payload)` Deprecated. Get the content stored in the resource referenced by the 'url' parameter.
`void` FetchedResult.`setPayload(Payload payload)` Deprecated.

Constructors in crawlercommons.fetcher with parameters of type Payload
Constructor and Description
`FetchedResult(String baseUrl, String redirectedUrl, long fetchTime, org.apache.tika.metadata.Metadata headers, byte[] content, String contentType, int responseRate, Payload payload, String newBaseUrl, int numRedirects, String hostAddress, int statusCode, String reasonPhrase)` Deprecated.

### Uses of Payload in crawlercommons.fetcher.file

Methods in crawlercommons.fetcher.file with parameters of type Payload
`FetchedResult` SimpleFileFetcher.`get(String url, Payload payload)` Deprecated.

### Uses of Payload in crawlercommons.fetcher.http

Methods in crawlercommons.fetcher.http with parameters of type Payload
`FetchedResult` SimpleHttpFetcher.`fetch(org.apache.http.client.methods.HttpRequestBase request, String url, Payload payload)` Deprecated.
`FetchedResult` SimpleHttpFetcher.`get(String url, Payload payload)` Deprecated.