Most visited

Recently visited

Added in API level 1
Deprecated since API level 22

HostNameResolver

public interface HostNameResolver

org.apache.http.conn.scheme.HostNameResolver


该接口在API级别22中已被弃用。
请改用openConnection() 请访问this webpage了解更多详情。

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

Hooray!