Added in API level 1
Deprecated in API level 22

HostNameResolver

public interface HostNameResolver

org.apache.http.conn.scheme.HostNameResolver


This interface was deprecated in API level 22.
Please use URL.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
public abstract InetAddress resolve (String hostname)

Parameters
hostname String

Returns
InetAddress

Throws
IOException