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

123456

/openjdk7/jdk/src/share/classes/sun/net/www/
H A DParseUtil.java327 String host,
339 authority, userInfo, host, port,
349 String host,
376 appendAuthority(sb, authority, userInfo, host, port);
389 String host,
392 if (host != null) {
398 boolean needBrackets = ((host.indexOf(':') >= 0)
399 && !host.startsWith("[")
400 && !host.endsWith("]"));
402 sb.append(host);
323 toString(String scheme, String opaquePart, String authority, String userInfo, String host, int port, String path, String query, String fragment) argument
345 appendSchemeSpecificPart(StringBuffer sb, String opaquePart, String authority, String userInfo, String host, int port, String path, String query) argument
386 appendAuthority(StringBuffer sb, String authority, String userInfo, String host, int port) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DHttpClient.java88 // target host, port for the URL
89 protected String host; field in class:HttpClient
202 this.host = url.getHost();
298 // to the same host will not use the same proxy.
510 security.checkConnect(host, port);
521 sun.net.www.URLConnection.setProxiedHost(host);
527 openServer(host, port);
537 sun.net.www.URLConnection.setProxiedHost(host);
543 super.openServer(host, port);
975 * @return the proxy host bein
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DDigestAuthentication.java187 public DigestAuthentication(boolean isProxy, String host, int port, String realm, argument
192 host,
H A DHttpURLConnection.java381 final String host,
393 logger.finest("Requesting Authentication: host =" + host + " url = " + url);
396 host, addr, port, protocol,
521 String host = url.getHost();
523 host += ":" + String.valueOf(port);
525 requests.setIfNotSet("Host", host);
674 * @param proxyHost the proxy host to use
688 * @param proxyHost the proxy host to use
716 public HttpURLConnection(URL u, String host, in argument
380 privilegedRequestPasswordAuthentication( final String host, final InetAddress addr, final int port, final String protocol, final String prompt, final String scheme, final URL url, final RequestorType authType) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DURI.java30 * the various components (scheme, host, port, userinfo, path, query
43 * of user information, host, and port), path segment, query segment
222 /** If specified, stores the host for this URI; otherwise null */
263 * accordingly - setting the scheme, userinfo, host,port, path, query
282 * accordingly - setting the scheme, userinfo, host,port, path, query
399 * @param p_userinfo the URI userinfo (cannot be specified if host
403 * be specified if host is null)
428 "Userinfo may not be specified if host is not specified!");
432 "Port may not be specified if host is not specified!");
568 // this is a valid server based authority, so set the host t
983 isValidServerBasedAuthority(String host, int port, String userinfo) argument
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DAbstractPlainSocketImpl.java113 * the specified host.
114 * @param host the specified host
117 protected void connect(String host, int port) argument
122 InetAddress address = InetAddress.getByName(host);
326 * establish a connection to the given <host, port>. If unsuccessful,
H A DHttpCookie.java713 * The utility method to check whether a host name is in a domain
719 * effective host name = hostname if host name contains dot<br>
722 * <p>Host A's name domain-matches host B's if:
724 * <li>their host name strings string-compare equal; or</li>
730 * <p>A host isn't in a domain (RFC 2965 sec. 3.3.2) if:
734 * <li>The effective host name that derives from the request-host does
736 * <li>The request-host is a HDN (not IP address) and has the form HD,
743 * <li>A Set-Cookie2 from request-host
761 domainMatches(String domain, String host) argument
[all...]
H A DInetAddress.java64 * corresponding host name (depending on whether it is constructed
65 * with a host name or whether it has already done reverse host name
80 * interface, in case the server host has multiple interfaces.
88 * host. This address is often used when testing a
128 * one. For any host name, its corresponding IP address is returned.
131 * the host associated with the IP address is returned.
133 * <p> The InetAddress class provides methods to resolve host names to
139 * unsuccessful host name resolutions.
143 * the result of positive host nam
755 put(String host, InetAddress[] addresses) argument
803 get(String host) argument
987 getByAddress(String host, byte[] addr) argument
1039 getByName(String host) argument
1045 getByName(String host, InetAddress reqAddr) argument
1089 getAllByName(String host) argument
1094 getAllByName(String host, InetAddress reqAddr) argument
1205 getAllByName0(String host) argument
1214 getAllByName0(String host, boolean check) argument
1219 getAllByName0(String host, InetAddress reqAddr, boolean check) argument
1248 getAddressesFromNameService(String host, InetAddress reqAddr) argument
1341 checkLookupTable(String host) argument
1377 updateLookupTable(String host) argument
[all...]
H A DSocket.java93 * is called with the proxy host address and port number
172 * number on the named host.
174 * If the specified host is <tt>null</tt> it is the equivalent of
185 * with the host address and <code>port</code>
188 * @param host the host name, or <code>null</code> for the loopback address.
192 * the host could not be determined.
205 public Socket(String host, int port) argument
208 this(host != null ? new InetSocketAddress(host, por
278 Socket(String host, int port, InetAddress localAddr, int localPort) argument
364 Socket(String host, int port, boolean stream) argument
407 Socket(InetAddress host, int port, boolean stream) argument
[all...]
H A DURI.java118 * [<i>user-info</i><tt><b>@</b></tt>]<i>host</i>[<tt><b>:</b></tt><i>port</i>]
133 * <blockquote><table summary="Describes the components of a URI:scheme,scheme-specific-part,authority,user-info,host,port,path,query,fragment">
139 * <tr><td>host</td><td><tt>String</tt></td></tr>
159 * authority component is present and is server-based then the host component
387 * colon following a host name but no port (as in
437 * scheme, if any, that it specifies. No lookup of the host, if any, is
451 * Internet address of the host, if any; comparison is not defined. In other
453 * resolution as well as the network I/O operations of looking up the host and
491 // Server-based authority: [<userInfo>@]<host>[:<port>]
493 private transient String host; // nul field in class:URI
671 URI(String scheme, String userInfo, String host, int port, String path, String query, String fragment) argument
778 URI(String scheme, String host, String path, String fragment) argument
1809 appendAuthority(StringBuffer sb, String authority, String userInfo, String host, int port) argument
1859 appendSchemeSpecificPart(StringBuffer sb, String opaquePart, String authority, String userInfo, String host, int port, String path, String query) argument
1907 toString(String scheme, String opaquePart, String authority, String userInfo, String host, int port, String path, String query, String fragment) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/daemon/
H A DCommunicatorServer.java206 * The host name used by this CommunicatorServer.
209 String host = null ; field in class:CommunicatorServer
615 * Gets the host name used by this <CODE>CommunicatorServer</CODE>.
617 * @return The host name used by this <CODE>CommunicatorServer</CODE>.
621 host = InetAddress.getLocalHost().getHostName();
623 host = "Unknown host";
625 return host ;
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DSSLContextImpl.java203 protected SSLEngine engineCreateSSLEngine(String host, int port) { argument
208 return new SSLEngineImpl(this, host, port);
H A DSSLSessionImpl.java105 private final String host; field in class:SSLSessionImpl
152 SecureRandom generator, String host, int port) {
154 new SessionId(defaultRejoinable, generator), host, port);
162 SessionId id, String host, int port) {
169 this.host = host;
564 * different ports on the same host must necessarily belong
569 return InetAddress.getByName(host);
576 return host;
581 * host an
150 SSLSessionImpl(ProtocolVersion protocolVersion, CipherSuite cipherSuite, Collection<SignatureAndHashAlgorithm> algorithms, SecureRandom generator, String host, int port) argument
160 SSLSessionImpl(ProtocolVersion protocolVersion, CipherSuite cipherSuite, Collection<SignatureAndHashAlgorithm> algorithms, SessionId id, String host, int port) argument
[all...]
H A DSSLEngineImpl.java330 * host/port hints. This Engine will not be able to cache
341 SSLEngineImpl(SSLContextImpl ctx, String host, int port) { argument
342 super(host, port);
2077 String host = getPeerHost();
2078 retval.append((host == null) ? "null" : host);
H A DSSLSocketImpl.java199 private String host; field in class:SSLSocketImpl
390 * Constructs an SSL connection to a named host at a specified port,
395 * @param host name of the host with which to connect
398 SSLSocketImpl(SSLContextImpl context, String host, int port) argument
401 this.host = host;
402 this.rawHostname = host;
405 host != null ? new InetSocketAddress(host, por
421 SSLSocketImpl(SSLContextImpl context, InetAddress host, int port) argument
440 SSLSocketImpl(SSLContextImpl context, String host, int port, InetAddress localAddr, int localPort) argument
467 SSLSocketImpl(SSLContextImpl context, InetAddress host, int port, InetAddress localAddr, int localPort) argument
532 SSLSocketImpl(SSLContextImpl context, Socket sock, String host, int port, boolean autoClose) argument
2112 setHost(String host) argument
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A Dostream.cpp1095 struct hostent* host = os::get_host_by_name((char*)ip); local
1096 if (host != NULL) {
1097 memcpy(&server.sin_addr, host->h_addr_list[0], host->h_length);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orb/
H A DORBImpl.java1683 // XXX What about multi-homed host?
1715 private String getHostName(String host) argument
1718 return InetAddress.getByName( host ).getHostAddress();
1727 * the host information. With this change it is used internally so the
/openjdk7/jdk/src/share/classes/javax/swing/
H A DGroupLayout.java263 private Container host; field in class:GroupLayout
368 * @param host the {@code Container} the {@code GroupLayout} is
370 * @throws IllegalArgumentException if host is {@code null}
372 public GroupLayout(Container host) { argument
373 if (host == null) {
377 this.host = host;
781 host.remove(existingComponent);
782 if (newComponent.getParent() != host) {
783 host
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DStyleSheet.java2165 Container host = v.getContainer();
2176 host.getComponentOrientation().isLeftToRight();
2205 Color c = (host.isEnabled()
2208 : host.getForeground())
2213 drawIcon(g, (int) x, (int) y, (int) w, (int) h, align, host);
2620 host = v;
2728 ((StyleConstants)key, host);
2761 if (host == null) {
2764 View parent = host.getParent();
2769 View host; field in class:StyleSheet.ViewAttributeSet
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DLdapClient.java130 LdapClient(String host, int port, String socketFactory, argument
135 System.err.println("LdapClient: constructor called " + host + ":" + port );
136 conn = new Connection(this, host, port, socketFactory, connectTimeout, readTimeout,
199 conn.host + ":" + conn.port);
220 conn.host + ":" + conn.port);
235 res = LdapSasl.saslBind(this, conn, conn.host, name, pw,
243 conn.host + ":" + conn.port);
272 conn.host + ":" + conn.port);
500 msg = conn.host + ":" + conn.port + " connection closed";
H A DLdapCtx.java223 String hostname = null; // host name of server (no brackets
275 public LdapCtx(String dn, String host, int port_number, Hashtable props, argument
301 hostname = (host != null && host.length() > 0) ? host : DEFAULT_HOST;
2776 // Use host/port number from referral
2784 // Try to connect again using new host/port number
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DJTextComponent.java5033 JTextComponent host = component;
5035 int offset = host.viewToModel(pt);
5036 int composedStartIndex = host.composedTextStart.getOffset();
5041 Position newPos = host.getDocument().createPosition(offset);
5042 host.getInputContext().endComposition();
5046 EventQueue.invokeLater(new DoSetCaretPosition(host, newPos));
5061 JTextComponent host; field in class:JTextComponent.DoSetCaretPosition
5064 DoSetCaretPosition(JTextComponent host, Position newPos) { argument
5065 this.host = host;
[all...]
/openjdk7/hotspot/src/share/vm/oops/
H A DinstanceKlass.hpp84 // [EMBEDDED host klass ] only exist for an anonymous class (JSR 292 enabled)
301 // embedded host klass follows here
302 // The embedded host klass only exists in an anonymous class for
303 // dynamic language support (JSR 292 enabled). The host class grants
304 // its access privileges to this class also. The host class is either
514 // host class
523 void set_host_klass(oop host) { argument
527 oop_store(addr, host);

Completed in 110 milliseconds

123456