public class WebDnsResolver extends Object implements ContextAware
| Modifier and Type | Class and Description |
|---|---|
static interface |
WebDnsResolver.DomainResolutionCallback |
| Modifier and Type | Field and Description |
|---|---|
static String |
WEB_DNS_RESOLVER_URL_KEY |
| Constructor and Description |
|---|
WebDnsResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
getHostForDomain(String domain,
String hostname,
WebDnsResolver.DomainResolutionCallback hostResolutionCallback) |
String |
getResolverUrl() |
void |
hostFailure(String url) |
boolean |
isEnabled() |
void |
setContext(Context context) |
public static final String WEB_DNS_RESOLVER_URL_KEY
public void getHostForDomain(String domain, String hostname, WebDnsResolver.DomainResolutionCallback hostResolutionCallback)
public String getResolverUrl()
public void hostFailure(String url)
public boolean isEnabled()
public void setContext(Context context)
setContext in interface ContextAwareCopyright © 2006–2018 Tigase. All rights reserved.