# Uses of Class crawlercommons.fetcher.http.UserAgent (Crawler-commons 0.6-SNAPSHOT API)
Date: 2015-05-26

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

Packages that use UserAgent
Package | Description
--- | ---
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
Modifier and Type | Field and Description
--- | ---
`protected UserAgent` | BaseHttpFetcher.`_userAgent`

Methods in crawlercommons.fetcher.http that return UserAgent
Modifier and Type | Method and Description
--- | ---
`UserAgent` | BaseHttpFetcher.`getUserAgent()`

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

### Uses of UserAgent in crawlercommons.robots

Methods in crawlercommons.robots with parameters of type UserAgent
Modifier and Type | Method and Description
--- | ---
`static BaseHttpFetcher` | RobotUtils.`createFetcher(UserAgent userAgent, int maxThreads)`