/openjdk7/jdk/src/share/classes/java/net/ |
H A D | InetSocketAddress.java | 199 * is called with the host name as its argument to check the permissiom 211 * permission to resolve the host name is 218 String host = null; 222 host = hostname; 224 holder = new InetSocketAddressHolder(host, addr, checkPort(port)); 243 * @param host the Host name 253 public static InetSocketAddress createUnresolved(String host, int port) { argument 254 return new InetSocketAddress(checkPort(port), checkHost(host));
|
H A D | URLStreamHandler.java | 130 String host = u.getHost(); 171 host = authority = spec.substring(start, i); 176 host = authority.substring(ind+1); 180 if (host != null) { 181 // If the host is surrounded by [ and ] then its an IPv6 183 if (host.length()>0 && (host.charAt(0) == '[')) { 184 if ((ind = host.indexOf(']')) > 2) { 186 String nhost = host ; 187 host 530 setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument 558 setURL(URL u, String protocol, String host, int port, String file, String ref) argument [all...] |
H A D | Inet6Address.java | 259 * @param host the specified host 269 public static Inet6Address getByAddress(String host, byte[] addr, NetworkInterface nif) argument 271 if (host != null && host.length() > 0 && host.charAt(0) == '[') { 272 if (host.charAt(host.length()-1) == ']') { 273 host = host 300 getByAddress(String host, byte[] addr, int scope_id) argument [all...] |
H A D | SocketImpl.java | 62 * 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...] |
H A D | SocksSocketImpl.java | 78 private synchronized void privilegedConnect(final String host, argument 87 superConnectServer(host, port, timeout); 98 private void superConnectServer(String host, int port, argument 100 super.connect(new InetSocketAddress(host, port), timeout); 368 String host = epoint.getHostString(); 371 (!host.startsWith("[")) && (host.indexOf(":") >= 0)) { 372 host = "[" + host + "]"; 375 uri = new URI("socket://" + ParseUtil.encodePath(host) [all...] |
/openjdk7/jdk/src/share/classes/javax/management/remote/ |
H A D | JMXServiceURL.java | 64 * <code>user@host</code> syntax is not supported.</p> 73 * <code>//<em>[host[</em>:<em>port]][url-path]</em></code> 81 * <p>The <code><em>host</em></code> is a host name, an IPv4 numeric 82 * host address, or an IPv6 numeric address enclosed in square 88 * <p>The <code><em>host</em></code> and <code><em>port</em></code> 90 * without a <code><em>host</em></code>.</p> 105 * <code>service:jmx:<em>protocol</em></code> string or in the host 175 // Parse the host name 182 throw new MalformedURLException("Bad host nam 248 JMXServiceURL(String protocol, String host, int port) argument 275 JMXServiceURL(String protocol, String host, int port, String urlPath) argument 671 private final String host; field in class:JMXServiceURL [all...] |
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/http/ntlm/ |
H A D | NTLMAuthentication.java | 123 public NTLMAuthentication(boolean isProxy, String host, int port, argument 127 host,
|
/openjdk7/jdk/src/windows/native/sun/net/spi/ |
H A D | DefaultProxySelector.c | 105 jstring host) 171 urlhost = (*env)->GetStringUTFChars(env, host, &isCopy); 175 * the URL host name matches with one of the prefixes, 179 (*env)->ReleaseStringUTFChars(env, host, urlhost); 185 (*env)->ReleaseStringUTFChars(env, host, urlhost); 102 Java_sun_net_spi_DefaultProxySelector_getSystemProxy(JNIEnv *env, jobject this, jstring proto, jstring host) argument
|
/openjdk7/jdk/test/java/net/CookieHandler/ |
H A D | TestHttpCookie.java | 210 static void dm(String domain, String host, boolean matches) { argument 212 if (HttpCookie.domainMatches(domain, host) != matches) { 213 raiseError("Host " + host + (matches?" should ":" should not ") +
|
/openjdk7/jdk/test/java/net/Socket/ |
H A D | OldImpl.java | 47 protected void bind(InetAddress host, int port){ argument 56 protected void connect(String host, int port){ argument
|
/openjdk7/jdk/test/sun/security/ssl/sanity/pluggability/ |
H A D | MySSLEngineImpl.java | 45 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 D | HttpsCreateSockTest.java | 165 public Socket createSocket(InetAddress host, int port) throws IOException { argument 167 return SocketFactory.getDefault().createSocket(host, port); 178 public Socket createSocket(String host, int port) throws IOException { argument 180 return SocketFactory.getDefault().createSocket(host, port); 184 public Socket createSocket(String host, int port, InetAddress localHost, argument 187 return SocketFactory.getDefault().createSocket(host, port, localHost, localPort); 192 public Socket createSocket(Socket s, String host, int port, argument 196 (s, host, port, autoClose);
|
H A D | HttpsSocketFacTest.java | 178 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/server/RMISocketFactory/useSocketFactory/registry/ |
H A D | Compress.java | 45 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);
|
/openjdk7/jdk/test/javax/management/remote/mandatory/connection/ |
H A D | MultiThreadDeadLockTest.java | 195 public Socket createSocket(String host, int port) throws IOException { argument 197 //print("Calling createSocket(" + host + " " + port + ")"); 200 Socket s = new Socket(host, port);
|
/openjdk7/jdk/test/sun/jvmstat/monitor/MonitoredVm/ |
H A D | MonitorVmStartTerminate.java | 46 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/sun/net/ |
H A D | NetworkClient.java | 228 /** Create connection with host <i>host</i> on port <i>port</i> */ 229 public NetworkClient(String host, int port) throws IOException { argument 230 openServer(host, port);
|
/openjdk7/jdk/src/share/classes/sun/net/smtp/ |
H A D | SmtpClient.java | 125 /** 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/sun/net/spi/ |
H A D | DefaultProxySelector.java | 144 String host = uri.getHost(); 146 if (host == null) { 165 host = auth; 169 if (protocol == null || host == null) { 170 throw new IllegalArgumentException("protocol = "+protocol+" host = "+host); 191 final String urlhost = host.toLowerCase(); 279 // We got a host, let's check for port 349 private synchronized native Proxy getSystemProxy(String protocol, String host); argument
|
/openjdk7/jdk/src/share/classes/sun/net/www/ |
H A D | URLConnection.java | 244 public synchronized static void setProxiedHost(String host) { argument 245 proxiedHosts.put(host.toLowerCase(), null); 248 public synchronized static boolean isProxiedHost(String host) { argument 249 return proxiedHosts.containsKey(host.toLowerCase());
|
/openjdk7/jdk/src/share/classes/sun/net/www/http/ |
H A D | KeepAliveCache.java | 76 * @param url The URL contains info about the host and port 297 private String host = null; field in class:KeepAliveKey 304 * @param url the URL containing the protocol, host and port information 308 this.host = url.getHost(); 321 return host.equals(kae.host) 329 * concatenation of the protocol, host name and port. 333 String str = protocol+host+port;
|
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/ |
H A D | HttpSendSocket.java | 52 /** the host to connect to */ 53 protected String host; field in class:HttpSendSocket 86 * the specified host. 87 * @param host the host 90 public HttpSendSocket(String host, int port, URL url) throws IOException argument 96 "host = " + host + ", port = " + port + ", url = " + url); 99 this.host = host; 113 HttpSendSocket(String host, int port) argument [all...] |
H A D | RMIMasterSocketFactory.java | 40 * specified host using successively less efficient mechanisms 41 * until one succeeds. If the host is successfully connected to, 43 * hash table keyed by the host name, so that future attempts to 44 * connect to the same host will automatically use the same 130 * Create a new client socket. If we remember connecting to this host 135 public Socket createSocket(String host, int port) argument 139 proxyLog.log(Log.BRIEF, "host: " + host + ", port: " + port); 147 return initialFactory.createSocket(host, port); 153 * If we remember successfully connecting to this host befor 300 rememberFactory(String host, RMISocketFactory factory) argument 359 private String host; field in class:RMIMasterSocketFactory.AsyncConnector 379 AsyncConnector(RMISocketFactory factory, String host, int port, AccessControlContext acc) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/net/www/protocol/http/ntlm/ |
H A D | NTLMAuthentication.java | 164 public NTLMAuthentication(boolean isProxy, String host, int port, argument 168 host,
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | PlainView.java | 204 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...] |