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