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

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

Packages that use UserAgent
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 UserAgent in crawlercommons.fetcher.http

Fields in crawlercommons.fetcher.http declared as UserAgent
`protected UserAgent` BaseHttpFetcher.`_userAgent` Deprecated.

Methods in crawlercommons.fetcher.http that return UserAgent
`UserAgent` BaseHttpFetcher.`getUserAgent()` Deprecated.

Constructors in crawlercommons.fetcher.http with parameters of type UserAgent
Constructor and Description
`BaseHttpFetcher(int maxThreads, UserAgent userAgent)` Deprecated.
`SimpleHttpFetcher(int maxThreads, UserAgent userAgent)` Deprecated.
`SimpleHttpFetcher(UserAgent userAgent)` Deprecated.

### Uses of UserAgent in crawlercommons.robots

Methods in crawlercommons.robots with parameters of type UserAgent
`static BaseHttpFetcher` RobotUtils.`createFetcher(UserAgent userAgent, int maxThreads)`