Top Description Methods
org.apache.http.conn.scheme

public Interface HostNameResolver

Annotations
@Deprecated
Imports
java.io.IOException, java.net.InetAddress

Deprecated

(4.1) Do not use

Hostname to IP address resolver.
Since
4.0

Method Summary

Modifier and TypeMethod and Description
public InetAddress

Returns:

IP address.
resolve
(String
the hostname.
hostname
)

Resolves given hostname to its IP address

Method Detail

resolveback to summary
public InetAddress resolve(String hostname) throws IOException

Resolves given hostname to its IP address

Parameters
hostname:String

the hostname.

Returns:InetAddress

IP address.