toPortEphemeralOrNull

Wraps the integer in the Ephemeral class.

Return

Ephemeral or null if not within MIN and MAX (inclusive).


Parses a String for a port between MIN and MAX (inclusive).

String can be either a URL containing the ephemeral port, or the ephemeral port string itself.

Return

Ephemeral or null if no ephemeral port is found.