toPortEphemeral

Wraps the integer in the Ephemeral class.

Throws

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.

Throws

if no ephemeral port is found.