Lines Matching defs:host
27 * @summary Ensure that Naming.java correctly parses host names with '_' in
56 * The socket factory captures the host name of the parsed URL, and
57 * then connects to the local host.
60 String host;
62 public synchronized Socket createSocket(String host, int port)
64 if (this.host == null) {
66 // will be local host
67 this.host = host;
93 * If java.net.URI obeys RFC 3986, so host names may
95 * should succeed-- but the host actually connected to
98 if (!hvf.host.equals(HOSTNAME)) {
101 hvf.host + ":" + HOSTNAME);
105 * If java.net.URI obeys RFC 2396, so host names must not