Searched refs:host (Results 76 - 100 of 237) sorted by relevance

12345678910

/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DAuthenticationInfo.java92 return host;
160 //return ("{"+type+":"+authScheme+":"+protocol+":"+host+":"+port+":"+realm+":"+path+"}");
179 /** The host we're authenticating against. */
180 String host; field in class:AuthenticationInfo
182 /** The port on the host we're authenticating against. */
192 public AuthenticationInfo(char type, AuthScheme authScheme, String host, int port, String realm) { argument
196 this.host = host.toLowerCase();
219 this.host = url.getHost().toLowerCase();
271 * is identified by the host
310 getProxyAuth(String host, int port) argument
321 getProxyAuthKey(String host, int port, String realm, AuthScheme scheme) argument
[all...]
/openjdk7/jdk/test/sun/security/krb5/canonicalize/
H A DTest.java59 PrincipalName pn = new PrincipalName("host/"+input,
70 public InetAddress[] lookupAllHostAddr(String host)
73 int i = Integer.valueOf(host.split("\\.")[0].substring(1));
75 InetAddress.getByAddress(host, new byte[]{127,0,0,(byte)i})
/openjdk7/jdk/src/share/classes/com/sun/jndi/rmi/registry/
H A DRegistryContext.java51 private String host; field in class:RegistryContext
64 * Returns a context for the registry at a given host and port.
65 * If "host" is null, uses default host.
70 public RegistryContext(String host, int port, Hashtable env) argument
79 if ((host != null) && (host.charAt(0) == '[')) {
80 host = host.substring(1, host
387 getRegistry(String host, int port, RMIClientSocketFactory socketFactory) argument
[all...]
/openjdk7/jdk/test/java/net/URL/
H A DURIToURLTest.java72 String host = uri.getHost();
73 boolean hostCheck = host == null ? url.getHost() == null :
74 host.equals(url.getHost());
76 throw new RuntimeException("uri.host is " +
77 host + " url's is " +
79 if (host != null) {
/openjdk7/jdk/src/share/classes/java/net/
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...]
H A DSocketImpl.java62 * The port number on the remote host to which this socket is connected.
82 * Connects this socket to the specified port on the named host.
84 * @param host the name of the remote host.
87 * remote host.
89 protected abstract void connect(String host, int port) throws IOException; argument
92 * Connects this socket to the specified port number on the specified host.
94 * @param address the IP address of the remote host.
102 * Connects this socket to the specified port number on the specified host.
106 * @param address the Socket address of the remote host
121 bind(InetAddress host, int port) argument
[all...]
/openjdk7/jdk/src/share/classes/java/rmi/
H A DNaming.java40 * //host:port/name
43 * <P>where <code>host</code> is the host (remote or local) where the registry
46 * by the registry. Both <code>host</code> and <code>port</code> are optional.
47 * If <code>host</code> is omitted, the host defaults to the local host. If
58 * local host, callers on a remote (or local) host can lookup the remote
60 * object. A registry may be shared by all servers running on a host o
346 String host; field in class:Naming.ParsedNamingURL
350 ParsedNamingURL(String host, int port, String name) argument
[all...]
/openjdk7/jdk/test/sun/jvmstat/monitor/MonitoredVm/
H A DMonitorVmStartTerminate.java46 MonitoredHost host = MonitoredHost.getMonitoredHost("localhost");
47 host.setInterval(200);
49 SleeperListener listener = new SleeperListener(host, sleeperPattern);
50 host.addHostListener(listener);
85 MonitoredHost host; field in class:SleeperListener
89 public SleeperListener(MonitoredHost host, String sleeperPattern) { argument
90 this.host = host;
102 MonitoredVm target = host.getMonitoredVm(vmid);
128 MonitoredVm target = host
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/
H A DHost.java44 * The class defines an abstract representation of a host.
104 JDMHost host= (JDMHost) jjtGetParent();
105 JDMManagers manager= (JDMManagers) host.jjtGetParent();
115 JDMHostTrap host= (JDMHostTrap) jjtGetParent();
116 JDMTrapInterestedHost hosts= (JDMTrapInterestedHost) host.jjtGetParent();
148 JDMHostInform host= (JDMHostInform) jjtGetParent();
149 JDMInformInterestedHost hosts= (JDMInformInterestedHost) host.jjtGetParent();
/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/sun/net/smtp/
H A DSmtpClient.java125 /** open a SMTP connection to host <i>host</i>. */
126 private void openServer(String host) throws IOException { argument
127 mailhost = host;
147 /** New SMTP client connected to host <i>host</i>. */
148 public SmtpClient (String host) throws IOException { argument
150 if (host != null) {
152 openServer(host);
153 mailhost = host;
[all...]
/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
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/host/
H A DBase.java46 package com.sun.xml.internal.rngom.parse.host;
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/SSLSecurity/
H A DJavaxSSLContextImpl.java42 protected SSLEngine engineCreateSSLEngine(String host, int port) { argument
/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/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/corba/src/share/classes/com/sun/corba/se/spi/legacy/connection/
H A DREADME.txt37 request. An ORB first asks the factory for type/host/port information
39 type/host/port it will use the existing connection. Otherwise it will
41 type/host/port. Finally, the createSocket method may throw an
42 exception to tell the ORB to ask it for type/host/port info again.
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/ast/util/
H A DCheckingSchemaBuilder.java54 import com.sun.xml.internal.rngom.parse.host.ParsedPatternHost;
55 import com.sun.xml.internal.rngom.parse.host.SchemaBuilderHost;
/openjdk7/jdk/test/sun/security/ssl/sanity/pluggability/
H A DMySSLEngineImpl.java45 public MySSLEngineImpl(String host, int port) { argument
46 super(host, port);
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/
H A DHttpsSocketFacTest.java178 public Socket createSocket(InetAddress host, int port) throws IOException { argument
180 return SocketFactory.getDefault().createSocket(host, port);
191 public Socket createSocket(String host, int port) throws IOException { argument
193 return SocketFactory.getDefault().createSocket(host, port);
197 public Socket createSocket(String host, int port, InetAddress localHost, argument
200 return SocketFactory.getDefault().createSocket(host, port, localHost, localPort);
205 public Socket createSocket(Socket s, String host, int port, argument
209 (s, host, port, autoClose);
/openjdk7/jdk/test/java/rmi/transport/reuseDefaultPort/
H A DReuseDefaultPort.java75 public Socket createSocket(String host, int port) throws IOException { argument
76 return defaultFactory.createSocket(host, port);
/openjdk7/jdk/src/share/classes/sun/net/
H A DTransferProtocolClient.java134 /** standard constructor to host <i>host</i>, port <i>port</i>. */
135 public TransferProtocolClient(String host, int port) throws IOException { argument
136 super(host, port);
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/mailto/
H A DHandler.java119 String host = "";
142 setURL(u, protocol, host, port, file, null);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DPlainView.java204 Component host = getContainer();
205 Font f = host.getFont();
254 JTextComponent host = (JTextComponent) getContainer();
255 Highlighter h = host.getHighlighter();
256 g.setFont(host.getFont());
257 sel0 = host.getSelectionStart();
258 sel1 = host.getSelectionEnd();
259 unselected = (host.isEnabled()) ?
260 host.getForeground() : host
592 damageLineRange(int line0, int line1, Shape a, Component host) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/jar/
H A DJarFileFactory.java78 String host = url.getHost();
79 if (host != null && !host.equals("") &&
80 !host.equalsIgnoreCase("localhost")) {
82 url = new URL("file", "", "//" + host + url.getPath());

Completed in 89 milliseconds

12345678910