| org.archive.crawler.datamodel.credential.Credential org.archive.crawler.datamodel.credential.Rfc2617Credential
Rfc2617Credential | public class Rfc2617Credential extends Credential (Code) | | A Basic/Digest auth RFC2617 credential.
author: stack version: $Revision: 4668 $, $Date: 2006-09-26 21:49:01 +0000 (Tue, 26 Sep 2006) $ |
Rfc2617Credential | public Rfc2617Credential(String name)(Code) | | Constructor.
A constructor that takes name of the credential is required by settings
framework.
Parameters: name - Name of this credential. |
getByRealm | public static Rfc2617Credential getByRealm(Set rfc2617Credentials, String realm, CrawlURI context)(Code) | | Convenience method that does look up on passed set using realm for key.
Parameters: rfc2617Credentials - Set of Rfc2617 credentials. If passed set isnot pure Rfc2617Credentials then will be ClassCastExceptions. Parameters: realm - Realm to find in passed set. Parameters: context - Context to use when searching the realm. Credential of passed realm name else null. If more than onecredential w/ passed realm name, and there shouldn't be, we return firstfound. |
isEveryTime | public boolean isEveryTime()(Code) | | |
populate | public boolean populate(CrawlURI curi, HttpClient http, HttpMethod method, String payload)(Code) | | |
|
|