java.lang.Object
net.thucydides.browsermob.fixtureservices.Ports

public class Ports
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Ports​(int defaultPort)  
  • Method Summary

    Modifier and Type Method Description
    boolean isAvailable​(int portNumber)  
    int nextAvailablePort​(int portNumber)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Ports

      public Ports​(int defaultPort)
  • Method Details

    • nextAvailablePort

      public int nextAvailablePort​(int portNumber)
    • isAvailable

      public boolean isAvailable​(int portNumber)