public static interface Testing.Network
| Modifier and Type | Method and Description |
|---|---|
static int |
getAvailablePort()
Find a port that is available.
|
static int getAvailablePort()
ServerSocket and obtains the port on which the socket is
listening, and then shuts down the socket so the port becomes available.Copyright © 2017 JBoss by Red Hat. All rights reserved.