/openjdk7/jdk/src/share/classes/sun/net/www/protocol/https/ |
H A D | Handler.java | 50 public Handler (String proxy, int port) { argument 52 this.proxyPort = port;
|
/openjdk7/jdk/src/solaris/classes/java/net/ |
H A D | PlainSocketImpl.java | 56 native void socketConnect(InetAddress address, int port, int timeout) argument 59 native void socketBind(InetAddress address, int port) argument
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/legacy/connection/ |
H A D | LegacyServerSocketManager.java | 44 public boolean legacyIsLocalServerPort(int port); argument
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/ |
H A D | SnmpPdu.java | 87 * Source or destination port. 92 public int port=0 ; field in class:SnmpPdu
|
H A D | SnmpEngineId.java | 49 * New <CODE>SnmpEngineId</CODE> with an hex string value. Can handle engine Id format <host>:<port>. 66 * If a string of the format <address>:<port>:<IANA number> has been provided at creation time, this string is returned. 182 * <BR> <address>:<port>:<IANA number></P> 185 * <li> <address>:<port>:<IANA number> 187 * <li> <address>:<port> 190 * <BR> The port 161 will be used to generate the Id. IANA number will be the SUN Microsystems one (42). </li> 191 * <li> :port 194 * <BR> The port 161 and localhost will be used to generate the Id. </li> 195 * <li> :<port>:<IANA number> 198 * <BR> The port 16 351 createEngineId(int port) argument 368 createEngineId(InetAddress address, int port) argument 385 createEngineId(int port, int iana) argument 399 createEngineId(InetAddress addr, int port, int iana) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/ |
H A D | ProviderArgumentsBuilder.java | 50 protected Packet getResponse(Packet request, Exception e, WSDLPort port, WSBinding binding) { argument 52 Packet response = request.createServerResponse(message,port,null,binding); 67 protected Packet getResponse(Packet request, @Nullable T returnValue, WSDLPort port, WSBinding binding) { argument 72 Packet response = request.createServerResponse(message,port,null,binding);
|
/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | Write.java | 47 bufferTest(sv.port()); 52 static void bufferTest(int port) throws Exception { argument 63 InetSocketAddress isa = new InetSocketAddress(lh, port); 97 int port() { method in class:WriteServer
|
/openjdk7/jdk/test/java/rmi/dgc/retryDirtyCalls/ |
H A D | RetryDirtyCalls.java | 178 public synchronized Socket createSocket(String host, int port) argument 188 return new Socket(host, port); 194 public ServerSocket createServerSocket(int port) throws IOException { argument 195 return new ServerSocket(port);
|
/openjdk7/jdk/test/java/rmi/registry/reexport/ |
H A D | Reexport.java | 34 * usually in another process, was using the registry port, the next 59 System.err.println("Starting registry on port " + regPort); 99 static Registry createReg(boolean remoteOk, int port) { argument 103 reg = LocateRegistry.createRegistry(port); 140 public static void killRegistry(int port) { argument 143 RegistryRunner.requestExit(port);
|
/openjdk7/jdk/test/java/rmi/transport/readTimeout/ |
H A D | ReadTimeoutTest.java | 36 * connects to the port and does nothing. The server should close the 70 // Export and get which port. 75 int port = fac.whichPort(); 78 if (port == 0) 79 throw new Error("TEST FAILED: export didn't reserve a port(?)"); 81 // Now, connect to that port 83 System.err.println("(connecting to listening port on 127.0.0.1:" + 84 port + ")"); 85 DoS = new Socket("127.0.0.1", port); 129 /** Create a server socket and remember which port i [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/gopher/ |
H A D | Handler.java | 93 int port = url.getPort(); 94 port = port < 0 ? 70 : port;
|
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | CookieManager.java | 229 // Let's check the authorize port list if it exists 232 int port = uri.getPort(); 233 if (port == -1) { 234 port = "https".equals(uri.getScheme()) ? 443 : 80; 236 if (isInPortList(ports, port)) { 317 int port = uri.getPort(); 318 if (port == -1) { 319 port = "https".equals(uri.getScheme()) ? 443 : 80; 322 // Empty port list means this should be restricted 323 // to the incoming URI port 364 isInPortList(String lst, int port) argument [all...] |
/openjdk7/jdk/src/share/classes/java/rmi/ |
H A D | Naming.java | 40 * //host:port/name 44 * is located, <code>port</code> is the port number on which the registry 46 * by the registry. Both <code>host</code> and <code>port</code> are optional. 48 * <code>port</code> is omitted, then the port defaults to 1099, the 49 * "well-known" port that RMI's registry, <code>rmiregistry</code>, uses. 202 if (parsed.port > 0 || !parsed.host.equals("")) 204 if (parsed.port > 0) 205 prefix += ":" + parsed.port; 347 int port; field in class:Naming.ParsedNamingURL 350 ParsedNamingURL(String host, int port, String name) argument [all...] |
/openjdk7/jdk/src/windows/classes/java/net/ |
H A D | PlainSocketImpl.java | 161 protected void connect(String host, int port) argument 164 impl.connect(host, port); 167 protected void connect(InetAddress address, int port) throws IOException { argument 168 impl.connect(address, port); 183 synchronized void doConnect(InetAddress address, int port, int timeout) throws IOException { argument 184 impl.doConnect(address, port, timeout); 212 void setPort(int port) { argument 213 impl.setPort(port); 300 void socketConnect(InetAddress address, int port, int timeout) argument 302 impl.socketConnect(address, port, timeou 305 socketBind(InetAddress address, int port) argument [all...] |
/openjdk7/jdk/test/java/net/SocketInputStream/ |
H A D | SocketTimeout.java | 41 int port = 0; 44 port = srv.getLocalPort(); 45 soc = new Socket(sin, port);
|
/openjdk7/jdk/test/sun/net/www/http/HttpClient/ |
H A D | RequestURI.java | 35 // Create a Server listening on port 5001 to act as the proxy. Requests 44 int port; 48 port = ss.getLocalPort(); 59 System.getProperties().setProperty("http.proxyPort", Integer.toString(port));
|
/openjdk7/jdk/test/java/rmi/testlibrary/ |
H A D | ActivationLibrary.java | 112 public static boolean rmidRunning(int port) { argument 124 LocateRegistry.getRegistry(port).lookup(SYSTEM_NAME); 209 private final int port; field in class:ActivationLibrary.DestroyThread 214 this.port = rmid.getPort(); 219 if (ActivationLibrary.rmidRunning(port)) {
|
/openjdk7/jdk/test/sun/management/jmxremote/ |
H A D | LocalRMIServerSocketFactoryTest.java | 90 final int port = s.getLocalPort(); 120 System.err.println("new Socket((String)null, port)"); 121 final Socket s1 = new Socket((String) null, port); 122 checkError("new Socket((String)null, port)"); 124 System.err.println("new Socket((String)null, port): PASSED"); 126 System.err.println("new Socket(InetAddress.getByName(null), port)"); 127 final Socket s2 = new Socket(InetAddress.getByName(null), port); 128 checkError("new Socket(InetAddress.getByName(null), port)"); 130 System.err.println("new Socket(InetAddress.getByName(null), port): PASSED"); 132 System.err.println("new Socket(localhost, port)"); [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ |
H A D | HandlerTube.java | 50 protected final @Nullable WSDLPort port; field in class:HandlerTube 58 public HandlerTube(Tube next, WSDLPort port) { argument 60 this.port = port; 67 this.port = cousinTube.port; 69 this.port = null; 81 this.port = that.port; 279 if (port ! [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | UnixAsynchronousServerSocketChannelImpl.java | 48 private final Port port; field in class:UnixAsynchronousServerSocketChannelImpl 71 UnixAsynchronousServerSocketChannelImpl(Port port) argument 74 super(port); 82 this.port = port; 86 port.register(fdVal, this); 92 port.unregister(fdVal); 124 return port; 151 port.startPoll(fdVal, Port.POLLIN); 210 ch = new UnixAsynchronousSocketChannelImpl(port, newf [all...] |
/openjdk7/jdk/test/com/sun/net/httpserver/ |
H A D | SelCacheTest.java | 73 int port = s1.getAddress().getPort(); 75 test (true, "http", root+"/test1", port, "smallfile.txt", 23); 76 test (true, "http", root+"/test1", port, "largefile.txt", 2730088); 79 test (false, "http", root+"/test1", port, "smallfile.txt", 23); 80 test (false, "http", root+"/test1", port, "largefile.txt", 2730088); 92 static void test (boolean fixedLen, String protocol, String root, int port, String f, int size) throws Exception { argument 94 URL url = new URL (protocol+"://localhost:"+port+"/test1/"+f);
|
H A D | Test1.java | 80 int port = s1.getAddress().getPort(); 82 test (true, "http", root+"/test1", port, "smallfile.txt", 23); 83 test (true, "http", root+"/test1", port, "largefile.txt", 2730088); 86 test (false, "http", root+"/test1", port, "smallfile.txt", 23); 87 test (false, "http", root+"/test1", port, "largefile.txt", 2730088); 102 static void test (boolean fixedLen, String protocol, String root, int port, String f, int size) throws Exception { argument 103 URL url = new URL (protocol+"://localhost:"+port+"/test1/"+f);
|
/openjdk7/jdk/test/java/net/DatagramSocket/ |
H A D | SendDatagramToBadAddress.java | 115 print ("running on OS that supports ICMP port unreachable"); 123 int port = serversock.getLocalPort (); 129 sock.connect(addr, port); 135 p = new DatagramPacket(buf, buf.length, addr, port); 152 p = new DatagramPacket(buf, buf.length, addr, port); 160 sock.connect(addr, port); 174 p = new DatagramPacket(buf, buf.length, addr, port); 176 p = new DatagramPacket(buf, buf.length, addr, port);
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | NetClient.java | 38 public static NetClient getInstance(String protocol, String hostname, int port, argument 41 return new TCPClient(hostname, port, timeout); 43 return new UDPClient(hostname, port, timeout); 60 TCPClient(String hostname, int port, int timeout) argument 63 tcpSocket.connect(new InetSocketAddress(hostname, port), timeout); 187 UDPClient(String hostname, int port, int timeout) argument 190 iport = port;
|
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/ |
H A D | RMINotifTest.java | 65 int port = 6666; 68 while(port++<7000) { 70 reg = LocateRegistry.createRegistry(++port); 71 System.out.println("Creation of rmi registry succeeded. Running on port " + port); 94 new JMXServiceURL("rmi", null, port, 95 "/jndi/rmi://:" + port + "/server" + port);
|