< prev index next >
src/jdk.jvmstat/share/classes/sun/jvmstat/monitor/HostIdentifier.java
Print this page
*** 79,98 ****
* HostIdentifier differs from a URI in that certain contractions and
* illicit syntactical constructions are allowed. The following are all
* valid HostIdentifier strings:
*
* <ul>
! * <li><p>< null > - transformed into "//localhost"</p></li>
! * <li><p>localhost - transformed into "//localhost"</p></li>
! * <li><p>hostname - transformed into "//hostname"</p></li>
! * <li><p>hostname:port - transformed into "//hostname:port"</p></li>
! * <li><p>proto:hostname - transformed into "proto://hostname"</p></li>
! * <li><p>proto:hostname:port - transformed into
! * "proto://hostname:port"</p></li>
! * <li><p>proto://hostname:port</p></li>
* </ul>
- * </p>
*
* @see URI
* @see VmIdentifier
*
* @author Brian Doherty
--- 79,97 ----
* HostIdentifier differs from a URI in that certain contractions and
* illicit syntactical constructions are allowed. The following are all
* valid HostIdentifier strings:
*
* <ul>
! * <li>{@code <null>} - transformed into "//localhost"</li>
! * <li>localhost - transformed into "//localhost"</li>
! * <li>hostname - transformed into "//hostname"</li>
! * <li>hostname:port - transformed into "//hostname:port"</li>
! * <li>proto:hostname - transformed into "proto://hostname"</li>
! * <li>proto:hostname:port - transformed into
! * "proto://hostname:port"</li>
! * <li>proto://hostname:port</li>
* </ul>
*
* @see URI
* @see VmIdentifier
*
* @author Brian Doherty
< prev index next >