lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
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 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