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 © 2016–2017. All rights reserved.