public class PortUtil extends Object
|Modifier and Type||Method and Description|
The entire purpose here is to find an available port that can then be bound for by server in a unit test without conflicting with other tests.
public static int findFreePort()
This is really only used for unit tests but is included in the library so it can be reused across modules. Use with caution.
Copyright © 2014–2019 University Health Network. All rights reserved.