public class RandomPortSupplier extends Object
| Constructor and Description |
|---|
RandomPortSupplier() |
RandomPortSupplier(ServerSocketFactory severSocketFactory) |
public RandomPortSupplier()
public RandomPortSupplier(ServerSocketFactory severSocketFactory)
public int get()
throws IllegalStateException
IllegalStateException - if the port cannot be determined.Copyright © 2016–2021. All rights reserved.