Most visited


Recently visited


Added in API level 1
Deprecated since API level 22

HostNameResolver

public interface HostNameResolver

org.apache.http.conn.scheme.HostNameResolver


This interface was deprecated in API level 22.
Please use openConnection() instead. Please visit this webpage for further details.

Summary


Public methods

abstract InetAddress resolve(String hostname)

Public methods


resolve

Added in API level 1
InetAddress resolve (String hostname)

Parameters
hostname String
Returns
InetAddress
Throws
IOException

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.