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

123456

/openjdk7/jdk/src/share/classes/java/net/
H A DProtocolException.java45 * @param host the detail message.
47 public ProtocolException(String host) { argument
48 super(host);
H A DUnknownHostException.java31 * Thrown to indicate that the IP address of a host could not be determined.
44 * @param host the detail message.
46 public UnknownHostException(String host) { argument
47 super(host);
/openjdk7/jdk/src/share/classes/java/rmi/server/
H A DRMIClientSocketFactory.java65 * Create a client socket connected to the specified host and port.
66 * @param host the host name
68 * @return a socket connected to the specified host and port.
72 public Socket createSocket(String host, int port) argument
/openjdk7/jdk/test/java/net/Socks/
H A DSocksV4Test.java36 // An unresolvable host
62 static void assertUnresolvableHost(String host) { argument
65 addr = InetAddress.getByName(host);
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/ServerHandshaker/
H A DGetPeerHostServer.java31 * host name.
42 private String host; field in class:GetPeerHostServer
72 host = ((javax.net.ssl.SSLSocket)socket).getSession().getPeerHost();
74 + host);
80 if (host != null && (host.charAt(0) > '9') ||
81 (host.charAt(0) < '0')) {
/openjdk7/jdk/test/javax/management/remote/mandatory/socketFactories/
H A DRMIClientFactory.java39 public Socket createSocket(String host, int port) throws IOException { argument
43 System.out.println("Calling createSocket("+host+","+port+")");
44 Socket s = new Socket(host, port);
/openjdk7/jdk/test/sun/net/InetAddress/nameservice/deadlock/
H A DThrowingNameService.java32 public InetAddress[] lookupAllHostAddr(String host) throws UnknownHostException { argument
/openjdk7/jdk/src/share/classes/sun/jvmstat/monitor/event/
H A DHostEvent.java42 * @param host the MonitoredHost source of the event.
44 public HostEvent(MonitoredHost host) { argument
45 super(host);
/openjdk7/jdk/src/share/classes/java/rmi/registry/
H A DLocateRegistry.java43 * remote object registry on a particular host (including the local host), or
47 * connection to the remote host. It simply creates a local reference to
49 * the remote host. Therefore, a subsequent method invocation to a remote
66 * the local host on the default registry port of 1099.
80 * the local host on the specified <code>port</code>.
95 * specified <code>host</code> on the default registry port of 1099. If
96 * <code>host</code> is <code>null</code>, the local host is used.
98 * @param host hos
103 getRegistry(String host) argument
120 getRegistry(String host, int port) argument
144 getRegistry(String host, int port, RMIClientSocketFactory csf) argument
[all...]
H A DRegistryHandler.java45 * on the specified host and port.
50 * @param host name of remote registry host
57 Registry registryStub(String host, int port) argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/host/
H A DLocationHost.java46 package com.sun.xml.internal.rngom.parse.host;
H A DParsedElementAnnotationHost.java46 package com.sun.xml.internal.rngom.parse.host;
H A DParsedNameClassHost.java46 package com.sun.xml.internal.rngom.parse.host;
H A DParsedPatternHost.java46 package com.sun.xml.internal.rngom.parse.host;
/openjdk7/jdk/test/java/rmi/Naming/
H A DUnderscoreHost.java27 * @summary Ensure that Naming.java correctly parses host names with '_' in
52 * The socket factory captures the host name of the parsed URL, and
53 * then connects to the local host.
56 String host; field in class:UnderscoreHost.HostVerifyingSocketFactory
58 public synchronized Socket createSocket(String host, int port) argument
60 if (this.host == null) {
62 // will be local host
63 this.host = host;
89 * If java.net.URI obeys RFC 3986, so host name
[all...]
/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/test/sun/net/InetAddress/nameservice/chaining/
H A DProviders.java40 // both providers know this host, but with different address
42 // provider1 knwos this host
44 // provider2 knows this host
62 private static void doLookup(String host, String addr) throws Exception { argument
63 String res = InetAddress.getByName(host).getHostAddress();
65 throw new RuntimeException("Test failed: wrong address for host " + host);
69 private static void doReverseLookup(String addr, String host) throws Exception { argument
76 if (!res.equals(host)) {
77 throw new RuntimeException("Test failed: wrong host nam
[all...]
H A DSimpleNameService.java33 // host name <-> host addr mapping
36 public void put(String host, String addr) { argument
37 hosts.put(host, addr);
50 public InetAddress[] lookupAllHostAddr(String host) throws UnknownHostException { argument
51 String addr = hosts.get(host);
53 throw new UnknownHostException(host);
62 ret[0] = InetAddress.getByAddress(host, addrs);
70 String host = (String)i.next();
71 String value = (String)hosts.get(host);
[all...]
/openjdk7/jdk/test/sun/net/InetAddress/nameservice/simple/
H A DDefaultCaching.java83 static void test (String host, String address, argument
85 test (host, address, shouldSucceed);
98 static void test (String host, String address, boolean shouldSucceed) { argument
101 addr = InetAddress.getByName (host);
103 throw new RuntimeException (host+":"+address+": should fail");
107 throw new RuntimeException(host+":"+address+": compare failed");
111 throw new RuntimeException(host+":"+address+": should succeed");
/openjdk7/jdk/src/share/classes/sun/net/spi/nameservice/
H A DNameService.java31 public java.net.InetAddress[] lookupAllHostAddr(String host) throws UnknownHostException; argument
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/
H A DRMIDirectSocketFactory.java34 * specified port on the specified host.
38 public Socket createSocket(String host, int port) throws IOException argument
40 return new Socket(host, port);
H A DRMIHttpToCGISocketFactory.java35 * specified host that is comminicated within an HTTP request,
36 * forwarded through the default firewall proxy, to the target host's
42 public Socket createSocket(String host, int port) argument
45 return new HttpSendSocket(host, port,
46 new URL("http", host,
H A DRMIHttpToPortSocketFactory.java35 * specified host that is communicated within an HTTP request,
41 public Socket createSocket(String host, int port) argument
44 return new HttpSendSocket(host, port,
45 new URL("http", host, port, "/"));
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/ior/iiop/
H A DIIOPAddressClosureImpl.java40 private Closure host; field in class:IIOPAddressClosureImpl
43 public IIOPAddressClosureImpl( Closure host, Closure port ) argument
45 this.host = host ;
51 return (String)(host.evaluate()) ;
H A DIIOPAddressImpl.java46 private String host; field in class:IIOPAddressImpl
49 public IIOPAddressImpl( ORB orb, String host, int port ) argument
58 this.host = host ;
64 host = is.read_string() ;
71 return host ;

Completed in 86 milliseconds

123456