Interface PortRange.Builder

    • Method Detail

      • from

        PortRange.Builder from​(Integer from)

        The first port in the range.

        Parameters:
        from - The first port in the range.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • to

        PortRange.Builder to​(Integer to)

        The last port in the range.

        Parameters:
        to - The last port in the range.
        Returns:
        Returns a reference to this object so that method calls can be chained together.