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.
|
getHostname
public HostnamePortRequirement(@CheckForNull String hostname, int port)
hostname
- the host.port
- the port.Copyright © 2016. All rights reserved.