/openjdk9/jdk/src/java.base/share/classes/java/net/ |
H A D | URLStreamHandler.java | 129 String host = u.getHost(); 170 host = authority = spec.substring(start, i); 177 host = null; 180 host = authority.substring(ind+1); 185 if (host != null) { 186 // If the host is surrounded by [ and ] then its an IPv6 188 if (host.length()>0 && (host.charAt(0) == '[')) { 189 if ((ind = host.indexOf(']')) > 2) { 191 String nhost = host ; 537 setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument 565 setURL(URL u, String protocol, String host, int port, String file, String ref) argument [all...] |
H A D | URL.java | 68 * information resides on a host machine named 69 * {@code www.example.com}. The information on that host 71 * meaning of this name on the host machine is both protocol 72 * dependent and host dependent. The information normally resides in 77 * port number to which the TCP connection is made on the remote host 124 * the protocol, host name, or port number is missing, the value is 177 * The host name to connect to. 180 private String host; field in class:URL 189 * The specified file name on that host. {@code file} is 223 * The host' 333 URL(String protocol, String host, int port, String file) argument 357 URL(String protocol, String host, String file) argument 402 URL(String protocol, String host, int port, String file, URLStreamHandler handler) argument 743 set(String protocol, String host, int port, String file, String ref) argument 780 set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument 1634 private final String host; field in class:UrlDeserializedState 1641 UrlDeserializedState(String protocol, String host, int port, String authority, String file, String ref, int hashCode) argument [all...] |
/openjdk9/jdk/src/java.base/unix/classes/sun/net/www/protocol/file/ |
H A D | Handler.java | 46 String host = url.getHost(); 47 if (host == null) 48 host = ""; 49 return host; 77 String host = u.getHost(); 78 if (host == null || host.equals("") || host.equals("~") || 79 host.equalsIgnoreCase("localhost")) { 91 ru = new URL("ftp", host, [all...] |
/openjdk9/jdk/src/java.base/share/classes/sun/net/www/protocol/http/ |
H A D | HttpCallerInfo.java | 49 public final String host, protocol, prompt, scheme; field in class:HttpCallerInfo 60 this.host = old.host; 76 host = url.getHost(); 102 public HttpCallerInfo(URL url, String host, int port, Authenticator a) { argument 104 this.host = host;
|
/openjdk9/jdk/src/jdk.jdi/share/classes/com/sun/tools/jdi/ |
H A D | SocketAttachingConnector.java | 51 getString("socket_attaching.host.label"), 52 getString("socket_attaching.host"), 80 String host = argument(ARG_HOST, arguments).value(); 81 if (host.length() > 0) { 82 host = host + ":"; 84 String address = host + argument(ARG_PORT, arguments).value();
|
/openjdk9/jdk/src/java.base/share/classes/java/lang/ |
H A D | SecurityManager.java | 1023 * specified host and port number. 1027 * host name. 1030 * <code>SocketPermission(host+":"+port,"connect")</code> permission if 1033 * <code>SocketPermission(host,"resolve")</code> permission. 1040 * @param host the host name port to connect to. 1044 * <code>host</code> and <code>port</code>. 1045 * @exception NullPointerException if the <code>host</code> argument is 1049 public void checkConnect(String host, int port) { argument 1050 if (host 1104 checkConnect(String host, int port, Object context) argument 1169 checkAccept(String host, int port) argument [all...] |
/openjdk9/jdk/src/java.base/share/classes/sun/security/ssl/ |
H A D | SSLSocketFactoryImpl.java | 76 * Constructs an SSL connection to a named host at a specified port. 81 * @param host name of the host with which to connect 85 public Socket createSocket(String host, int port) argument 88 return new SSLSocketImpl(context, host, port); 93 * ServerSocket on the named host, at the given port. This 95 * host and port refer to the logical destination server. This 100 * @param host the server host 105 * @exception UnknownHostException if the host i 108 createSocket(Socket s, String host, int port, boolean autoClose) argument 149 createSocket(String host, int port, InetAddress clientAddress, int clientPort) argument [all...] |
/openjdk9/jdk/src/java.base/share/classes/sun/net/www/protocol/mailto/ |
H A D | MailToURLConnection.java | 70 String host = System.getProperty("mail.host"); 71 if (host == null) { 73 host = InetAddress.getLocalHost().getHostName(); 77 str += "@" + host; 111 String host = client.getMailHost() + ":" + 25; 112 permission = new SocketPermission(host, "connect");
|
H A D | Handler.java | 119 String host = ""; 142 setURLHandler(u, protocol, host, port, file, null); 155 private void setURLHandler(URL u, String protocol, String host, int port, String file, String ref) { argument 156 setURL(u,protocol,host,port,file,null);
|
/openjdk9/jdk/src/java.prefs/macosx/classes/java/util/prefs/ |
H A D | MacOSXPreferencesFile.java | 41 * simultaneous creation of two objects for the same name+user+host triplet 119 private long host; field in class:MacOSXPreferencesFile 123 long host() { return host; } method in class:MacOSXPreferencesFile 130 host = newHost; 134 // Always returns the same object for the given name+user+host 150 // Java user node == CF current user, any host 151 // Java system node == CF any user, current host 368 return addNode(path, appName, user, host); 376 removeNode(path, appName, user, host); 450 addNode(String path, String name, long user, long host) argument 452 removeNode(String path, String name, long user, long host) argument 454 addChildToNode(String path, String child, String name, long user, long host) argument 457 removeChildFromNode(String path, String child, String name, long user, long host) argument 460 addKeyToNode(String path, String key, String value, String name, long user, long host) argument 463 removeKeyFromNode(String path, String key, String name, long user, long host) argument 466 getKeyFromNode(String path, String key, String name, long user, long host) argument 469 getChildrenForNode(String path, String name, long user, long host) argument 471 getKeysForNode(String path, String name, long user, long host) argument 473 synchronize(String name, long user, long host) argument [all...] |
/openjdk9/jdk/src/jdk.naming.rmi/share/classes/com/sun/jndi/url/rmi/ |
H A D | rmiURLContext.java | 39 * rmi://[host][:port][/[object]] 69 String host = null; 75 if (url.startsWith("//", i)) { // parse "//host:port" 87 host = url.substring(i, brac + 1); // include brackets 89 } else { // at host name or IPv4 95 host = url.substring(i, hostEnd); 97 i = hostEnd; // skip past host 110 if ("".equals(host)) { 111 host = null; 127 //System.out.println("host [all...] |
/openjdk9/jdk/src/java.base/windows/classes/sun/nio/fs/ |
H A D | WindowsUriSupport.java | 137 String host = uri.getHost(); 138 if (host == null) 139 throw new IllegalArgumentException("URI authority component has undefined host"); 150 if (host.startsWith("[")) { 151 host = host.substring(1, host.length()-1) 154 host += IPV6_LITERAL_SUFFIX; 158 path = "\\\\" + host + path;
|
/openjdk9/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/monitor/event/ |
H A D | VmStatusChangeEvent.java | 68 * @param host the MonitoredHost that is the source of the event. 75 public VmStatusChangeEvent(MonitoredHost host, Set<Integer> active, argument 77 super(host); 89 * of each active Java Virtual Machine on the host. If 90 * there are no active Java Virtual Machines on the host, 104 * of each Java Virtual Machine started on the host. If 106 * host, an empty Set is returned. 119 * of each Java Virtual Machine terminated on the host. If 121 * host, an empty Set is returned.
|
/openjdk9/jdk/test/java/nio/channels/DatagramChannel/ |
H A D | SendToUnresolved.java | 37 String host = TestUtil.UNRESOLVABLE_HOST; 40 InetSocketAddress sa = new InetSocketAddress (host, 37);
|
/openjdk9/jdk/src/java.rmi/share/classes/sun/rmi/transport/tcp/ |
H A D | TCPEndpoint.java | 62 /** IP address or host name */ 63 private String host; field in class:TCPEndpoint 76 /** the local host name */ 78 /** true if real local host name is known yet */ 102 * Find host name of local machine. Property "java.rmi.server.hostname" 104 * inablility to get fully qualified host name from VM. 154 * Create an endpoint for a specified host and port. 158 public TCPEndpoint(String host, int port) { argument 159 this(host, port, null, null); 163 * Create a custom socket factory endpoint for a specified host an 167 TCPEndpoint(String host, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) argument 288 setLocalHost(String host) argument [all...] |
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/parse/host/ |
H A D | LocationHost.java | 46 package com.sun.xml.internal.rngom.parse.host;
|
H A D | ParsedElementAnnotationHost.java | 46 package com.sun.xml.internal.rngom.parse.host;
|
H A D | ParsedNameClassHost.java | 46 package com.sun.xml.internal.rngom.parse.host;
|
H A D | ParsedPatternHost.java | 46 package com.sun.xml.internal.rngom.parse.host;
|
/openjdk9/jdk/src/java.rmi/share/classes/java/rmi/registry/ |
H A D | RegistryHandler.java | 45 * on the specified host and port. 50 * @param host name of remote registry host 57 Registry registryStub(String host, int port) argument
|
/openjdk9/jdk/src/java.base/share/classes/sun/net/util/ |
H A D | URLUtil.java | 58 String host = url.getHost(); 59 if (host != null) { 60 /* host is compared case-insensitive, so convert to lowercase */ 61 host = host.toLowerCase(); 62 strForm.append(host);
|
/openjdk9/jdk/test/java/rmi/registry/nonLocalRegistry/ |
H A D | NonLocalRegistryTest.java | 33 * The test is manual because the (non-local) host running rmiregistry must be supplied as a property. 34 * @run main/othervm/manual -Dregistry.host=rmi-registry-host NonLocalRegistryTest 42 * on a *different* host. 46 * Login or ssh to the different host and invoke {@code $JDK_HOME/bin/rmiregistry}. 49 * On the first host modify the @run command above to replace "rmi-registry-host" 50 * with the hostname or IP address of the different host and run the test with jtreg. 56 String host = System.getProperty("registry.host"); [all...] |
/openjdk9/jdk/test/javax/management/remote/nonLocalAccess/ |
H A D | NonLocalJMXRemoteTest.java | 34 * The test is manual because the (non-local) host and port running JMX must be supplied as properties. 35 * @run main/othervm/manual -Djmx-registry.host=jmx-registry-host -Djmx-registry.port=jmx-registry-port NonLocalJMXRemoteTest 44 * This test is a manual test and uses JMX running on a *different* host. 46 * login or ssh to the different host and invoke rmiregistry with arguments below. 54 * On the first host modify the @run command above to replace "jmx-registry-host" 55 * with the hostname or IP address of the different host and run the test with jtreg. 61 String host = System.getProperty("jmx-registry.host"); [all...] |
/openjdk9/jdk/src/java.management/share/classes/javax/management/remote/ |
H A D | JMXServiceURL.java | 73 * <code>user@host</code> syntax is not supported.</p> 82 * <code>//<em>[host[</em>:<em>port]][url-path]</em></code> 90 * <p>The <code><em>host</em></code> is a host name, an IPv4 numeric 91 * host address, or an IPv6 numeric address enclosed in square 97 * <p>The <code><em>host</em></code> and <code><em>port</em></code> 99 * without a <code><em>host</em></code>.</p> 114 * <code>service:jmx:<em>protocol</em></code> string or in the host 184 // Parse the host name 191 throw new MalformedURLException("Bad host nam 260 JMXServiceURL(String protocol, String host, int port) argument 290 JMXServiceURL(String protocol, String host, int port, String urlPath) argument 768 private String host; field in class:JMXServiceURL [all...] |
/openjdk9/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/monitor/ |
H A D | HostIdentifier.java | 31 * An abstraction that identifies a target host and communications 34 * a target host. The string, based on a {@link URI}, may specify the 35 * the communications protocol, host name, and protocol specific information 36 * for a target host. The format for a HostIdentifier string is: 41 * is interpreted to mean a local connection to the local host and is equivalent 62 * on the target host and defaults to port 1099. 189 * @param uriString a string representing a target host. The syntax of 241 String host = vmid.getHost(); 252 if ((host != null) && (host [all...] |