| Modifier and Type | Field and Description |
|---|---|
| public static final int | MAX_VALUE
The maximum port value per https://tools.ietf.org/html/rfc6335. |
| public static final int | MIN_VALUE
The minimum port value per https://tools.ietf.org/html/rfc6335. |
| public static final int | SCHEME_DEFAULT
The scheme default port. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static int | Returns: the portThe port to check where port)-1 indicates the scheme default port.Checks a port number where |
| MAX_VALUE | back to summary |
|---|---|
| public static final int MAX_VALUE The maximum port value per https://tools.ietf.org/html/rfc6335. | |
| MIN_VALUE | back to summary |
|---|---|
| public static final int MIN_VALUE The minimum port value per https://tools.ietf.org/html/rfc6335. | |
| SCHEME_DEFAULT | back to summary |
|---|---|
| public static final int SCHEME_DEFAULT The scheme default port. | |
| Ports | back to summary |
|---|---|
| public Ports() | |
| check | back to summary |
|---|---|
| public static int check(final int port) Checks a port number.
| |
| checkWithDefault | back to summary |
|---|---|
| public static int checkWithDefault(final int port) Checks a port number where
| |