Searched refs:host (Results 1 - 25 of 271) sorted by relevance

1234567891011

/openjdk9/jdk/test/java/net/InetAddress/
H A DBadDottedIPAddress.java39 String host = "999.999.999.999";
43 InetAddress ia = InetAddress.getByName(host);
50 + host);
53 host = "[]";
56 InetAddress ia = InetAddress.getByName(host);
64 + host);
67 host = "[127.0.0.1]";
70 InetAddress ia = InetAddress.getByName(host);
78 + host);
81 host
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/text/html/
H A DEditableView.java74 Container host = getContainer();
76 if (host instanceof JTextComponent &&
77 isVisible != ((JTextComponent)host).isEditable()) {
78 isVisible = ((JTextComponent)host).isEditable();
80 host.repaint();
106 Container host = parent.getContainer();
107 if (host != null) {
108 if (host instanceof JTextComponent) {
109 isVisible = ((JTextComponent)host).isEditable();
H A DNoFramesView.java65 Container host = getContainer();
66 if (host != null &&
67 visible != ((JTextComponent)host).isEditable()) {
68 visible = ((JTextComponent)host).isEditable();
90 Container host = p.getContainer();
91 if (host != null) {
92 visible = ((JTextComponent)host).isEditable();
/openjdk9/jdk/src/java.rmi/share/classes/java/rmi/server/
H A DRMIClientSocketFactory.java65 * Create a client socket connected to the specified host and port.
66 * @param host the host name
68 * @return a socket connected to the specified host and port.
72 public Socket createSocket(String host, int port) argument
/openjdk9/jdk/src/java.logging/share/classes/java/util/logging/
H A DSocketHandler.java57 * <li> &lt;handler-name&gt;.host
58 * specifies the target host name to connect to (no default). </li>
83 private String host; field in class:SocketHandler
89 * @throws IllegalArgumentException if the host or port are invalid or
92 * host and port.
101 host = manager.getStringProperty(cname + ".host", null);
106 System.err.println("SocketHandler: connect failed to " + host + ":" + port);
112 * Construct a {@code SocketHandler} using a specified host and port.
115 * properties (or their default values) except that the given target host
126 SocketHandler(String host, int port) argument
[all...]
/openjdk9/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/monitor/event/
H A DHostEvent.java43 * @param host the MonitoredHost source of the event.
45 public HostEvent(MonitoredHost host) { argument
46 super(host);
/openjdk9/corba/src/java.corba/share/classes/com/sun/corba/se/impl/ior/iiop/
H A DIIOPAddressClosureImpl.java37 private Closure host; field in class:IIOPAddressClosureImpl
40 public IIOPAddressClosureImpl( Closure host, Closure port ) argument
42 this.host = host ;
48 return (String)(host.evaluate()) ;
H A DIIOPAddressImpl.java43 private String host; field in class:IIOPAddressImpl
46 public IIOPAddressImpl( ORB orb, String host, int port ) argument
55 this.host = host ;
61 host = is.read_string() ;
68 return host ;
/openjdk9/corba/src/java.corba/share/classes/com/sun/corba/se/impl/naming/namingutil/
H A DIIOPEndpointInfo.java32 * host information used in creating the Service Object reference
43 private String host; field in class:IIOPEndpointInfo
50 // Default host is localhost
51 host = ORBConstants.DEFAULT_INS_HOST;
57 host = theHost;
61 return host;
89 System.out.println( "host -> " + host );
/openjdk9/jdk/src/java.base/share/classes/sun/security/x509/
H A DURIName.java44 * address as the host.
47 * (e.g., "http" is equivalent to "HTTP"). The host part is also not
50 * MUST compare the scheme and host without regard to case, but assume
63 * of an IP-based protocol to a specified host on the Internet use a
66 * {@code //<user>:<password>@<host>:<port>/<url-path>}
85 private String host; field in class:URIName
115 host = uri.getHost();
116 // RFC 5280 says that the host should be non-null, but we allow it to
120 if (host != null) {
121 if (host
183 URIName(URI uri, String host, DNSName hostDNS) argument
[all...]
/openjdk9/jdk/src/java.base/windows/classes/jdk/internal/loader/
H A DFileURLMapper.java57 String host = url.getHost();
58 if (host != null && !host.equals("") &&
59 !"localhost".equalsIgnoreCase(host)) {
61 String s = host + ParseUtil.decode (url.getFile());
/openjdk9/jdk/src/java.rmi/share/classes/java/rmi/registry/
H A DLocateRegistry.java43 * remote object registry on a particular host (including the local host), or
47 * connection to the remote host. It simply creates a local reference to
49 * the remote host. Therefore, a subsequent method invocation to a remote
66 * the local host on the default registry port of 1099.
80 * the local host on the specified <code>port</code>.
95 * specified <code>host</code> on the default registry port of 1099. If
96 * <code>host</code> is <code>null</code>, the local host is used.
98 * @param host hos
103 getRegistry(String host) argument
120 getRegistry(String host, int port) argument
144 getRegistry(String host, int port, RMIClientSocketFactory csf) argument
[all...]
/openjdk9/jdk/src/java.base/share/classes/javax/net/
H A DSocketFactory.java133 * Creates a socket and connects it to the specified remote host
138 * method is called with the host address and <code>port</code>
141 * @param host the server host name with which to connect, or
148 * @throws UnknownHostException if the host is not known
155 public abstract Socket createSocket(String host, int port) argument
160 * Creates a socket and connects it to the specified remote host
167 * method is called with the host address and <code>port</code>
170 * @param host the server host nam
187 createSocket(String host, int port, InetAddress localHost, int localPort) argument
213 createSocket(InetAddress host, int port) argument
268 createSocket(String host, int port) argument
280 createSocket(String host, int port, InetAddress clientAddress, int clientPort) argument
[all...]
/openjdk9/jdk/test/java/rmi/Naming/
H A DUnderscoreHost.java27 * @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; field in class:UnderscoreHost.HostVerifyingSocketFactory
62 public synchronized Socket createSocket(String host, int port) argument
64 if (this.host == null) {
66 // will be local host
67 this.host = host;
93 * If java.net.URI obeys RFC 3986, so host name
[all...]
/openjdk9/jdk/test/sun/net/InetAddress/nameservice/simple/
H A DDefaultCaching.java89 static void test (String host, String address, argument
91 test (host, address, shouldSucceed);
100 static void test (String host, String address, boolean shouldSucceed) { argument
103 addr = InetAddress.getByName (host);
105 throw new RuntimeException (host+":"+address+": should fail");
109 throw new RuntimeException(host+":"+address+": compare failed");
113 throw new RuntimeException(host+":"+address+": should succeed");
119 private static void addMappingToHostsFile (String host, argument
124 String mapping = addr + " " + host;
/openjdk9/jdk/test/javax/management/remote/mandatory/socketFactories/
H A DRMIClientFactory.java39 public Socket createSocket(String host, int port) throws IOException { argument
43 System.out.println("Calling createSocket("+host+","+port+")");
44 Socket s = new Socket(host, port);
/openjdk9/jdk/test/sun/security/provider/PolicyFile/
H A DCombinedPerms.java40 String host = "localhost";
46 p.add(new SocketPermission(host, "connect"));
49 if (pd.implies(new SocketPermission(host, "connect,accept"))) {
/openjdk9/jdk/src/java.base/share/classes/java/net/
H A DInetAddress.java69 * corresponding host name (depending on whether it is constructed
70 * with a host name or whether it has already done reverse host name
87 * interface, in case the server host has multiple interfaces.
95 * host. This address is often used when testing a
136 * one. For any host name, its corresponding IP address is returned.
139 * the host associated with the IP address is returned.
141 * <p> The InetAddress class provides methods to resolve host names to
147 * unsuccessful host name resolutions.
151 * the result of positive host nam
778 final String host; field in class:InetAddress.CachedAddresses
783 CachedAddresses(String host, InetAddress[] inetAddresses, long expiryTime) argument
814 private final String host; field in class:InetAddress.NameServiceAddresses
817 NameServiceAddresses(String host, InetAddress reqAddr) argument
898 lookupAllHostAddr(String host) argument
921 lookupAllHostAddr(String host) argument
1028 lookupAllHostAddr(String host) argument
1091 extractHostAddr(String hostEntry, String host) argument
1183 getByAddress(String host, byte[] addr) argument
1235 getByName(String host) argument
1241 getByName(String host, InetAddress reqAddr) argument
1285 getAllByName(String host) argument
1290 getAllByName(String host, InetAddress reqAddr) argument
1403 getAllByName0(String host) argument
1412 getAllByName0(String host, boolean check) argument
1428 getAllByName0(String host, InetAddress reqAddr, boolean check, boolean useCache) argument
1497 getAddressesFromNameService(String host, InetAddress reqAddr) argument
1564 final String host; field in class:InetAddress.CachedLocalHost
1568 CachedLocalHost(String host, InetAddress addr) argument
[all...]
/openjdk9/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/
H A DHotSpotJVMCIBackendFactory.java29 JVMCIBackend createJVMCIBackend(HotSpotJVMCIRuntimeProvider runtime, JVMCIBackend host); argument
/openjdk9/jdk/src/java.base/unix/classes/jdk/internal/loader/
H A DFileURLMapper.java38 * on to /net/host/...
61 String host = url.getHost();
62 if (host == null || "".equals(host) || "localhost".equalsIgnoreCase (host)) {
/openjdk9/jdk/src/java.base/windows/classes/sun/net/www/protocol/file/
H A DHandler.java46 String host = url.getHost();
47 if (host == null)
48 host = "";
49 return host;
80 String host = url.getHost();
86 if ((host == null) || host.equals("") ||
87 host.equalsIgnoreCase("localhost") ||
88 host.equals("~")) {
95 path = "\\\\" + host
[all...]
/openjdk9/jdk/src/java.rmi/share/classes/sun/rmi/transport/tcp/
H A DTCPDirectSocketFactory.java34 * specified port on the specified host.
38 public Socket createSocket(String host, int port) throws IOException argument
40 return new Socket(host, port);
/openjdk9/jdk/src/java.naming/share/classes/com/sun/jndi/ldap/
H A DLdapClientFactory.java45 final private String host; field in class:LdapClientFactory
52 LdapClientFactory(String host, int port, String socketFactory, argument
54 this.host = host;
64 return new LdapClient(host, port, socketFactory,
69 return host + ":" + port;
/openjdk9/jdk/test/javax/management/remote/mandatory/
H A DURLTest.java27 * @summary Tests that host names are parsed correctly in URLs
87 System.out.println("(Except that it allows empty host names and " +
100 final String host = hosts[i];
101 System.out.print(" " + host + ": ");
112 final URI uri = new URI("http://" + host + "/");
118 final int len = host.length();
120 !(len > 1 && host.charAt(len - 1) == '.'
121 && host.charAt(len - 2) != '.')) {
122 // JMXServiceURL allows empty host name; also
/openjdk9/jdk/test/sun/security/ssl/ServerHandshaker/
H A DGetPeerHostServer.java31 * host name.
42 private String host; field in class:GetPeerHostServer
74 host = ((javax.net.ssl.SSLSocket)socket).getSession().getPeerHost();
76 + host);
82 if (host != null && (host.charAt(0) > '9') ||
83 (host.charAt(0) < '0')) {

Completed in 214 milliseconds

1234567891011