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

## Uses of Class
crawlercommons.fetcher.http.BaseHttpFetcher

Packages that use BaseHttpFetcher
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.
crawlercommons.robots: The robots package contains all of the robots.txt rule inference, parsing and utilities contained within Crawler Commons.

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

Subclasses of BaseHttpFetcher in crawlercommons.fetcher.http
`class` `SimpleHttpFetcher` Deprecated. As of release 0.6. We recommend directly using Apache HttpClient, async-http-client, or any other robust, industrial-strength HTTP clients.

### Uses of BaseHttpFetcher in crawlercommons.robots

Methods in crawlercommons.robots that return BaseHttpFetcher
`static BaseHttpFetcher` RobotUtils.`createFetcher(BaseHttpFetcher fetcher)`
`static BaseHttpFetcher` RobotUtils.`createFetcher(UserAgent userAgent, int maxThreads)`

Methods in crawlercommons.robots with parameters of type BaseHttpFetcher
`static BaseHttpFetcher` RobotUtils.`createFetcher(BaseHttpFetcher fetcher)`
`static BaseRobotRules` RobotUtils.`getRobotRules(BaseHttpFetcher fetcher, BaseRobotsParser parser, URL robotsUrl)` Externally visible, static method for use in tools and for testing.