public class JndiDANEFetcherFactory extends java.lang.Object implements DANEEntryFetcherFactory
Constructor and Description |
---|
JndiDANEFetcherFactory() |
Modifier and Type | Method and Description |
---|---|
DANEEntryFetcher |
build(java.lang.String domainName)
Build an entry fetcher for the specified domain name.
|
JndiDANEFetcherFactory |
setAuthoritative(boolean isAuthoritative)
Specify requests must be authoritative, or not (default false).
|
JndiDANEFetcherFactory |
usingDNSServer(java.lang.String dnsServer)
Specify the dnsServer to use.
|
public JndiDANEFetcherFactory usingDNSServer(java.lang.String dnsServer)
dnsServer
- IP address/name of the dns serverpublic JndiDANEFetcherFactory setAuthoritative(boolean isAuthoritative)
isAuthoritative
- true if requests must be authoritative, false otherwise.public DANEEntryFetcher build(java.lang.String domainName)
build
in interface DANEEntryFetcherFactory
domainName
- the domain name of interest.