Example usage for Java org.apache.commons.net.whois WhoisClient fields, constructors, methods, implement or subclass
The text is from its open source code.
String | DEFAULT_HOST The default whois host to query. |
WhoisClient() The default whois constructor. |
void | connect(InetAddress host) Opens a Socket connected to a remote host at the current default port and originating from the current host at a system assigned port. |
void | connect(InetAddress host, int port) Opens a Socket connected to a remote host at the specified port and originating from the current host at a system assigned port. |
void | disconnect() Disconnects the socket connection. |
InputStream | getInputStream(String handle) Queries the connected whois server for information regarding the given handle and returns the InputStream of the network connection. |
InetAddress | getRemoteAddress() |
boolean | isConnected() Returns true if the client is currently connected to a server. |
String | query(String handle) Queries the connected whois server for information regarding the given handle. |
void | setConnectTimeout(int connectTimeout) Sets the connection timeout in milliseconds, which will be passed to the Socket object's connect() method. |
void | setDefaultTimeout(int timeout) Set the default timeout in milliseconds to use when opening a socket. |
void | setSoTimeout(int timeout) Set the timeout in milliseconds of a currently open connection. |