public class HostnamePortRequirement extends HostnameRequirement
Domain that includes Credentials for a specific hostname and port combination.| Constructor and Description |
|---|
HostnamePortRequirement(String hostname,
int port)
Creates a new requirement.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPort()
Returns the required port.
|
getHostnamepublic HostnamePortRequirement(@CheckForNull
String hostname,
int port)
hostname - the host.port - the port.Copyright © 2004-2014. All Rights Reserved.