@ConstraintDeclaration
@Retention(value=RUNTIME)
@Constraints(value=HostPortConstraint.class)
public @interface HostPort
Marks a property as being a string, with a "host:port", where host is a valid hostname, IPv4 address or IPv6 address
and port is in the range of 0 to 65535. The port is optional.