Searched refs:host (Results 101 - 125 of 271) sorted by relevance

1234567891011

/openjdk9/jdk/src/java.base/share/classes/sun/security/ssl/
H A DSSLSocketImpl.java194 private String host; field in class:SSLSocketImpl
393 * If the local name service is not trustworthy, reverse host name
404 * Constructs an SSL connection to a named host at a specified port,
409 * @param host name of the host with which to connect
412 SSLSocketImpl(SSLContextImpl context, String host, int port) argument
415 this.host = host;
417 Utilities.addToSNIServerNameList(this.serverNames, this.host);
420 host !
436 SSLSocketImpl(SSLContextImpl context, InetAddress host, int port) argument
455 SSLSocketImpl(SSLContextImpl context, String host, int port, InetAddress localAddr, int localPort) argument
483 SSLSocketImpl(SSLContextImpl context, InetAddress host, int port, InetAddress localAddr, int localPort) argument
554 SSLSocketImpl(SSLContextImpl context, Socket sock, String host, int port, boolean autoClose) argument
2184 setHost(String host) argument
[all...]
/openjdk9/jdk/src/java.base/share/classes/java/net/
H A DURI.java120 * [<i>user-info</i><b>{@code @}</b>]<i>host</i>[<b>{@code :}</b><i>port</i>]
136 * <caption style="display:none">Describes the components of a URI:scheme,scheme-specific-part,authority,user-info,host,port,path,query,fragment</caption>
145 * <tr><td>host</td><td>{@code String}</td></tr>
166 * authority component is present and is server-based then the host component
399 * colon following a host name but no port (as in
440 * scheme, if any, that it specifies. No lookup of the host, if any, is
454 * Internet address of the host, if any; comparison is not defined. In other
456 * resolution as well as the network I/O operations of looking up the host and
494 // Server-based authority: [<userInfo>@]<host>[:<port>]
496 private transient String host; // nul field in class:URI
674 URI(String scheme, String userInfo, String host, int port, String path, String query, String fragment) argument
781 URI(String scheme, String host, String path, String fragment) argument
1944 appendAuthority(StringBuilder sb, String authority, String userInfo, String host, int port) argument
1994 appendSchemeSpecificPart(StringBuilder sb, String opaquePart, String authority, String userInfo, String host, int port, String path, String query) argument
2042 toString(String scheme, String opaquePart, String authority, String userInfo, String host, int port, String path, String query, String fragment) argument
[all...]
/openjdk9/jdk/src/java.base/share/classes/javax/net/ssl/
H A DSSLContextSpi.java113 * @param host the non-authoritative name of the host
124 protected abstract SSLEngine engineCreateSSLEngine(String host, int port); argument
H A DSSLSocketFactory.java185 * host, at the given port. This constructor can be used when tunneling SSL
187 * socket. The host and port refer to the logical peer destination.
192 * @param host the server host
195 * @return a socket connected to the specified host and port
199 public abstract Socket createSocket(Socket s, String host, argument
274 public Socket createSocket(String host, int port) argument
281 public Socket createSocket(Socket s, String host, argument
296 public Socket createSocket(String host, int port, argument
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/parse/host/
H A DCommentListHost.java46 package com.sun.xml.internal.rngom.parse.host;
/openjdk9/jdk/src/java.base/share/classes/sun/net/www/protocol/http/
H A DBasicAuthentication.java50 /** The authentication string for this host, port, and realm. This is
57 public BasicAuthentication(boolean isProxy, String host, int port, argument
61 AuthScheme.BASIC, host, port, realm,
89 public BasicAuthentication(boolean isProxy, String host, int port, argument
93 AuthScheme.BASIC, host, port, realm,
/openjdk9/jdk/src/java.base/share/classes/sun/net/www/
H A DURLConnection.java239 public static synchronized void setProxiedHost(String host) { argument
240 proxiedHosts.put(host.toLowerCase(), null);
243 public static synchronized boolean isProxiedHost(String host) { argument
244 return proxiedHosts.containsKey(host.toLowerCase());
/openjdk9/jdk/src/java.rmi/share/classes/java/rmi/server/
H A DRMISocketFactory.java39 * socket connection to the remote host.
49 * loopback address. This restricts RMI to processing requests only from the local host.
57 * public Socket createSocket(String host, int port) throws IOException {
60 * .createSocket(host, port);
97 * Creates a client socket connected to the specified host and port.
98 * @param host the host name
100 * @return a socket connected to the specified host and port.
104 public abstract Socket createSocket(String host, int port) argument
/openjdk9/jdk/test/com/sun/jndi/cosnaming/
H A DIiopUrlIPv6.java55 System.out.println("host: " + addr.host);
/openjdk9/jdk/test/java/nio/channels/SocketChannel/
H A DSendUrgentData.java45 * <li>-client host port [-inline]</li>
50 * local host.
62 String host = null;
70 host = args[1];
76 host = "localhost";
86 SocketAddress sa = new InetSocketAddress(host, port);
/openjdk9/jdk/test/java/rmi/dgc/dgcAckFailure/
H A DDGCAckFailure.java158 public Socket createSocket(String host, int port) throws IOException { argument
166 return new TestSocket(host, port);
175 TestSocket(String host, int port) throws IOException { argument
176 super(host, port);
/openjdk9/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/registry/
H A DCompress.java45 public Socket createSocket(String host, int port) argument
48 return ((Socket) new CompressSocket(host, port));
67 public CompressSocket(String host, int port) throws IOException { argument
68 super(host, port);
/openjdk9/jdk/test/javax/net/ssl/sanity/pluggability/
H A DMySSLContextImpl.java62 protected SSLEngine engineCreateSSLEngine(String host, int port) { argument
/openjdk9/jdk/src/java.base/windows/native/libnet/
H A DInet6AddressImpl.c54 jstring host) {
66 if (IS_NULL(host)) {
67 JNU_ThrowNullPointerException(env, "host is null");
70 hostname = JNU_GetStringPlatformChars(env, host, JNI_FALSE);
89 JNU_ReleaseStringPlatformChars(env, host, hostname);
95 JNU_ReleaseStringPlatformChars(env, host, hostname);
199 setInetAddress_hostName(env, iaObj, host);
219 setInetAddress_hostName(env, iaObj, host);
240 JNU_ReleaseStringPlatformChars(env, host, hostname);
258 char host[NI_MAXHOS local
53 Java_java_net_Inet6AddressImpl_lookupAllHostAddr(JNIEnv *env, jobject this, jstring host) argument
[all...]
/openjdk9/jdk/src/java.base/unix/native/libnet/
H A DInet4AddressImpl.c77 if (error == 0) {/* host is known to name service */
99 * String "host" shouldn't *ever* be a %d.%d.%d.%d string
108 jstring host) {
118 if (IS_NULL(host)) {
119 JNU_ThrowNullPointerException(env, "host is null");
122 hostname = JNU_GetStringPlatformChars(env, host, JNI_FALSE);
138 JNU_ReleaseStringPlatformChars(env, host, hostname);
150 JNU_ReleaseStringPlatformChars(env, host, hostname);
159 JNU_ReleaseStringPlatformChars(env, host, hostname);
220 setInetAddress_hostName(env, iaObj, host);
107 Java_java_net_Inet4AddressImpl_lookupAllHostAddr(JNIEnv *env, jobject this, jstring host) argument
253 char host[NI_MAXHOST+1]; local
[all...]
/openjdk9/corba/src/java.corba/share/classes/com/sun/corba/se/spi/resolver/
H A DResolverDefault.java70 * to implement a resolver. Obtains the necessary host and port
73 public static Resolver makeBootstrapResolver( ORB orb, String host, int port ) argument
75 return new BootstrapResolverImpl( orb, host, port ) ;
/openjdk9/jdk/src/java.base/share/classes/sun/security/x509/
H A DIPAddressName.java170 byte[] host = InetAddress.getByName
173 System.arraycopy(host, 0, address, 0, 4);
262 byte[] host = new byte[4];
263 System.arraycopy(address, 0, host, 0, 4);
264 name = InetAddress.getByAddress(host).getHostAddress();
273 byte[] host = new byte[16];
274 System.arraycopy(address, 0, host, 0, 16);
275 name = InetAddress.getByAddress(host).getHostAddress();
345 // Two IPv4 host addresses or two IPv6 host addresse
[all...]
/openjdk9/jdk/src/java.rmi/share/classes/javax/rmi/ssl/
H A DSslRMIClientSocketFactory.java114 public Socket createSocket(String host, int port) throws IOException { argument
121 sslSocketFactory.createSocket(host, port);
201 // overriding createSocket(String host, int port).
/openjdk9/jdk/test/java/net/DatagramPacket/
H A DConstructor.java96 InetAddress host = InetAddress.getLocalHost();
99 new DatagramPacket(buf, 100, host, -1);
/openjdk9/jdk/test/java/rmi/dgc/retryDirtyCalls/
H A DRetryDirtyCalls.java178 public synchronized Socket createSocket(String host, int port) argument
188 return new Socket(host, port);
/openjdk9/langtools/src/jdk.jshell/share/classes/jdk/jshell/execution/
H A DJdiExecutionControlProvider.java117 * <td>connect to the named of the local host ("" for discovered)</td>
144 String host = parameters.getOrDefault(PARAM_HOST_NAME, dp.get(PARAM_HOST_NAME));
148 return JdiDefaultExecutionControl.create(env, remoteAgent, isLaunch, host, timeout);
/openjdk9/jdk/test/sun/security/tools/jarsigner/
H A DTsacertOptionTest.java116 String host = "127.0.0.1";
117 String tsaUrl = "http://" + host + ":" + port;
/openjdk9/jdk/test/sun/security/krb5/auto/
H A DNoAddresses.java49 // add a mapping of test host name to 127.0.0.1 to test's hosts file
75 // no initiator host address available, should be OK
78 // correct initiator host address, still fine
85 // incorrect initiator host address, fail
98 private static void addMappingToHostsFile (String host, argument
103 String mapping = addr + " " + host;
/openjdk9/jdk/test/java/net/Socket/
H A DHttpProxy.java49 String host;
55 host = "localhost";
57 out.println("Running with internal proxy: " + host + ":" + port);
59 host = args[0];
61 out.println("Running against specified proxy server: " + host + ":" + port);
63 System.err.println("Usage: java HttpProxy [<proxy host> <proxy port>]");
67 HttpProxy p = new HttpProxy(host, port);
206 // retrieve the host and port info from the status-line
/openjdk9/jdk/test/javax/net/ssl/SSLEngine/
H A DConnectionTest.java298 String host = ssle1.getPeerHost();
300 if (!host.equals(hostname) || (port != portNumber)) {
301 throw new Exception("unexpected host/port " + host + ":" + port);
304 host = ssle2.getPeerHost();
306 if ((host != null) || (port != -1)) {
307 throw new Exception("unexpected host/port " + host + ":" + port);
312 host = ssls1.getPeerHost();
314 if (!host
[all...]

Completed in 321 milliseconds

1234567891011