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 setContext(Context context)
setContext
in interface ContextAware
public boolean isEnabled()
public String getResolverUrl()
public void getHostForDomain(String domain, String hostname, WebDnsResolver.DomainResolutionCallback hostResolutionCallback)
public void hostFailure(String url)
Copyright © 2006–2016 Tigase. All rights reserved.