public final class WhoisServer extends ListObject<WhoisServer>
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT
The whois default port.
|
| Constructor and Description |
|---|
WhoisServer() |
| Modifier and Type | Method and Description |
|---|---|
Pattern |
getAvailablePattern()
Returns the pattern for checking the server response
for an available domain.
|
String |
getHost()
Returns the whois server.
|
void |
setAvailablePattern(Pattern availablePattern)
Sets the pattern for checking the server response for
an available domain.
|
void |
setHost(String host)
Sets the whois server.
|
String |
toString() |
public static final int DEFAULT_PORT
public String getHost()
public void setHost(String host)
host - the server, not nullpublic Pattern getAvailablePattern()
public void setAvailablePattern(Pattern availablePattern)
availablePattern - the available pattern, maybe nullCopyright © 2016. All Rights Reserved.