| Package | Description |
|---|---|
| com.sun.enterprise.util.net |
| Modifier and Type | Method and Description |
|---|---|
static NetUtils.PortAvailability |
NetUtils.checkPort(int portNumber)
There are 4 possibilities when you want to setup a server socket on a port:
1.
|
static NetUtils.PortAvailability |
NetUtils.PortAvailability.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetUtils.PortAvailability[] |
NetUtils.PortAvailability.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.