Package com.vaadin.flow.testutil.net
Class FixedIANAPortRange
- java.lang.Object
-
- com.vaadin.flow.testutil.net.FixedIANAPortRange
-
- All Implemented Interfaces:
EphemeralPortRangeDetector
public class FixedIANAPortRange extends Object implements EphemeralPortRangeDetector
Fixed port range for when a defined can not be calculated.Derived from SeleniumHQ / selenium
For internal use only. May be renamed or removed in a future release.
-
-
Constructor Summary
Constructors Constructor Description FixedIANAPortRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHighestEphemeralPort()Returns the last port that could be searched for free portsintgetLowestEphemeralPort()Returns the first port in the ephemeral range
-
-
-
Method Detail
-
getLowestEphemeralPort
public int getLowestEphemeralPort()
Description copied from interface:EphemeralPortRangeDetectorReturns the first port in the ephemeral range- Specified by:
getLowestEphemeralPortin interfaceEphemeralPortRangeDetector- Returns:
- The first ephemeral port
-
getHighestEphemeralPort
public int getHighestEphemeralPort()
Description copied from interface:EphemeralPortRangeDetectorReturns the last port that could be searched for free ports- Specified by:
getHighestEphemeralPortin interfaceEphemeralPortRangeDetector- Returns:
- The last port that may be free
-
-