@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Port
PortType. If you want to restrict to more specific ranges
use the PortRange or PortRanges annotations instead.| Modifier and Type | Optional Element and Description |
|---|---|
PortType[] |
acceptablePorts
The acceptable port types, defaults to
PortType#OS_ALLOCATED,
PortType#USER and PortType#DYNAMIC |
public abstract PortType[] acceptablePorts
PortType#OS_ALLOCATED,
PortType#USER and PortType#DYNAMICCopyright © 2012–2022. All rights reserved.