Class HostnamePortRequirement

All Implemented Interfaces:
ExtensionPoint, Serializable

public class HostnamePortRequirement extends HostnameRequirement
A requirement for a Domain that includes Credentials for a specific hostname and port combination.
Since:
1.5
See Also:
  • Constructor Details

    • HostnamePortRequirement

      public HostnamePortRequirement(@CheckForNull String hostname, int port)
      Creates a new requirement.
      Parameters:
      hostname - the host.
      port - the port.
  • Method Details

    • getPort

      public int getPort()
      Returns the required port.
      Returns:
      the required port.