Searched defs:host (Results 51 - 75 of 148) sorted by relevance

123456

/openjdk7/corba/src/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 );
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLSocketFactory.java168 * host, at the given port. This constructor can be used when tunneling SSL
170 * socket. The host and port refer to the logical peer destination.
175 * @param host the server host
178 * @return a socket connected to the specified host and port
182 public abstract Socket createSocket(Socket s, String host, argument
208 public Socket createSocket(String host, int port) argument
214 public Socket createSocket(Socket s, String host, argument
227 public Socket createSocket(String host, int port, argument
H A DSSLSocket.java153 * Constructs a TCP connection to a named host at a specified port.
157 * method is called with the host address and <code>port</code>
160 * @param host name of the host with which to connect, or
166 * @throws UnknownHostException if the host is not known
172 protected SSLSocket(String host, int port) argument
174 { super(host, port); }
183 * method is called with the host address and <code>port</code>
186 * @param address the server's host
204 * Constructs an SSL connection to a named host a
228 SSLSocket(String host, int port, InetAddress clientAddress, int clientPort) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/cosnaming/
H A DIiopUrl.java43 * address = [version host [":" port]]
44 * host = DNS style host name | IP address
61 * iiop url = "iiop://" [host [":" port]] ["/" string_name]
77 public String host; field in class:IiopUrl.Address
81 // [version host [":" port]]
106 // Parse host and port
119 host = hostPortVers.substring(start, brac + 1);
127 host = hostPortVers.substring(start, hostEnd);
129 start = hostEnd; // skip past host
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DLdapURL.java63 * ldap://host.com:6666/o=IMC,c=US??sub?(cn=Babs%20Jensen)
85 init(url); // scheme, host, port, path, query
173 * If "host" is an IPv6 literal, it may optionally include delimiting
176 static String toUrlString(String host, int port, String dn, boolean useSsl) argument
180 String h = (host != null) ? host : "";
261 System.out.println(" host: " + url.getHost());
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/url/
H A DUri.java68 * hostport = host [ ":" port ]
69 * host = hostname | IPv4address | IPv6reference
110 protected String host = null; field in class:Uri
149 * Returns the host from the URI's authority part, or null
150 * if no host is provided. If the host is an IPv6 literal, the
155 return host;
170 * of "http://host/a/b" is "/a/b".
205 if (hasAuthority) { // parse "//host:port"
216 host
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/host/
H A DAnnotationsHost.java46 package com.sun.xml.internal.rngom.parse.host;
H A DDataPatternBuilderHost.java46 package com.sun.xml.internal.rngom.parse.host;
H A DGrammarSectionHost.java46 package com.sun.xml.internal.rngom.parse.host;
H A DNameClassBuilderHost.java46 package com.sun.xml.internal.rngom.parse.host;
/openjdk7/jdk/test/java/net/Socket/
H A DOldSocketImpl.java45 protected void connect(String host, int port) throws IOException { } argument
52 protected void bind(InetAddress host, int port) throws IOException { } argument
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DAsyncCloseChannel.java40 static String host = "127.0.0.1"; field in class:AsyncCloseChannel
150 s.connect(new InetSocketAddress(host, sensorPort));
184 new InetSocketAddress(host, targetPort));
/openjdk7/jdk/src/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 * //<user>:<password>@<host>:<port>/<url-path>
85 private String host; field in class:URIName
116 host = uri.getHost();
117 // RFC 3280 says that the host should be non-null, but we allow it to
121 if (host != null) {
122 if (host
186 URIName(URI uri, String host, DNSName hostDNS) argument
[all...]
/openjdk7/jdk/test/java/rmi/dgc/dgcAckFailure/
H A DDGCAckFailure.java132 public Socket createSocket(String host, int port) throws IOException { argument
140 return new TestSocket(host, port);
149 TestSocket(String host, int port) throws IOException { argument
150 super(host, port);
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/
H A DMultiSocketFactory.java80 public Socket createSocket(String host, int port) argument
84 return new CompressSocket(host, port);
89 return new XorSocket(host, port, data[0]);
93 return def.createSocket(host, port);
101 public CompressSocket(String host, int port) throws IOException { argument
102 super(host, port);
134 public XorSocket(String host, int port, byte pattern) argument
137 super(host, port);
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/
H A DMultiSocketFactory.java80 public Socket createSocket(String host, int port) argument
84 return new CompressSocket(host, port);
89 return new XorSocket(host, port, data[0]);
93 return def.createSocket(host, port);
101 public CompressSocket(String host, int port) throws IOException { argument
102 super(host, port);
134 public XorSocket(String host, int port, byte pattern) argument
137 super(host, port);
/openjdk7/jdk/test/java/rmi/server/RemoteObject/verifyRemoteEquals/
H A DVerifyRemoteEquals.java155 ClientSocketAndFactory(String host, int port) throws IOException { argument
156 super(host, port);
159 public Socket createSocket(String host, int port) argument
162 return new ClientSocketAndFactory(host, port);
/openjdk7/jdk/test/java/rmi/transport/pinClientSocketFactory/
H A DPinClientSocketFactory.java147 public Socket createSocket(String host, int port) throws IOException { argument
148 return new Socket(host, port);
/openjdk7/jdk/test/javax/rmi/ssl/
H A DSSLSocketParametersTest.java86 public Socket createSocket(String host, int port) throws IOException { argument
88 host + "," + port + ")");
89 return super.createSocket(host, port);
/openjdk7/jdk/src/share/classes/sun/net/spi/nameservice/dns/
H A DDNSNameService.java251 // no property specified so check host DNS resolver configured
272 public InetAddress[] lookupAllHostAddr(String host) throws UnknownHostException { argument
288 // If host already contains a domain name then just look it up
289 if (host.indexOf('.') >= 0) {
291 results = resolve(ctx, host, ids, 0);
297 // Here we try to resolve the host using the domain suffix or
298 // the domain suffix search list. If the host cannot be resolved
331 results = resolve(ctx, host+"."+parentDomain, ids, 0);
349 // finally try the host if it doesn't have a domain name
350 if (results == null && (host
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DBasicAuthentication.java49 /** The authentication string for this host, port, and realm. This is
56 public BasicAuthentication(boolean isProxy, String host, int port, argument
59 AuthScheme.BASIC, host, port, realm);
86 public BasicAuthentication(boolean isProxy, String host, int port, argument
89 AuthScheme.BASIC, host, port, realm);
H A DNTLMAuthenticationProxy.java71 String host,
75 return fiveArgCtr.newInstance(isProxy, host, port, pw);
70 create(boolean isProxy, String host, int port, PasswordAuthentication pw) argument
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/ior/iiop/
H A DIIOPFactories.java232 public static IIOPAddress makeIIOPAddress( ORB orb, String host, int port ) argument
234 return new IIOPAddressImpl( orb, host, port ) ;
/openjdk7/jdk/src/share/classes/java/net/
H A DAuthenticator.java201 * @param host The hostname of the site requesting authentication.
222 String host,
242 a.requestingHost = host;
262 * @param host The hostname of the site requesting authentication.
287 String host,
309 a.requestingHost = host;
221 requestPasswordAuthentication( String host, InetAddress addr, int port, String protocol, String prompt, String scheme) argument
286 requestPasswordAuthentication( String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, RequestorType reqType) argument
H A DInMemoryCookieStore.java228 * I.E.: RFC 2965 section 3.3.2 says that if host is x.y.domain.com
235 private boolean netscapeDomainMatches(String domain, String host) argument
237 if (domain == null || host == null) {
251 // if the host name contains no dot and the domain name is .local
252 int firstDotInHost = host.indexOf('.');
258 int lengthDiff = host.length() - domainLength;
260 // if the host name and the domain name are just string-compare euqal
261 return host.equalsIgnoreCase(domain);
264 String H = host.substring(0, lengthDiff);
265 String D = host
277 getInternal1(List<HttpCookie> cookies, Map<String, List<HttpCookie>> cookieIndex, String host, boolean secureLink) argument
[all...]

Completed in 73 milliseconds

123456