Home
last modified time | relevance | path

Searched defs:host (Results 1 – 25 of 88) sorted by relevance

1234

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineTest.java95 String host = "new host"; in test_ConstructorLjava_lang_StringI02() local
98 assertEquals(e.getPeerHost(), host); in test_ConstructorLjava_lang_StringI02() local
327 String host = "new host"; in test_unwrap_02() local
363 String host = "new host"; in test_unwrap_03() local
385 String host = "new host"; in test_unwrap_04() local
423 String host = "new host"; in test_unwrap_05() local
442 String host = "new host"; in test_unwrap_06() local
469 String host = "new host"; in test_wrap_02() local
504 String host = "new host"; in test_wrap_03() local
524 String host = "new host"; in test_wrap_04() local
[all …]
/libcore/ojluni/src/main/java/javax/net/
DSocketFactory.java162 public abstract Socket createSocket(String host, int port) in createSocket()
194 createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
220 public abstract Socket createSocket(InetAddress host, int port) in createSocket()
275 public Socket createSocket(String host, int port) in createSocket()
287 public Socket createSocket(String host, int port, in createSocket()
/libcore/support/src/test/java/tests/net/
DDelegatingSSLSocketFactory.java65 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket()
72 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
78 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
85 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
DDelegatingSocketFactory.java53 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
59 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
66 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
/libcore/ojluni/src/main/java/java/net/
DInetAddress.java531 String host = null; in getHostFromNameService() local
649 public static InetAddress getByAddress(String host, byte[] addr) throws UnknownHostException { in getByAddress()
654 private static InetAddress getByAddress(String host, byte[] addr, int scopeId) in getByAddress()
706 public static InetAddress getByName(String host) in getByName()
750 public static InetAddress[] getAllByName(String host) in getAllByName()
845 String host = (String)gf.get("hostName", null); in readObject() local
958 public static InetAddress getByNameOnNet(String host, int netId) throws UnknownHostException { in getByNameOnNet()
972 …public static InetAddress[] getAllByNameOnNet(String host, int netId) throws UnknownHostException { in getAllByNameOnNet()
DUnknownHostException.java46 public UnknownHostException(String host) { in UnknownHostException()
DURL.java164 private String host; field in URL
303 public URL(String protocol, String host, int port, String file) in URL()
327 public URL(String protocol, String host, String file) in URL()
371 public URL(String protocol, String host, int port, String file, in URL()
667 protected void set(String protocol, String host, in set()
704 protected void set(String protocol, String host, int port, in set()
1318 Parts(String file, String host) { in Parts()
DSocketPermission.java39 public SocketPermission(String host, String action) { super(""); } in SocketPermission()
DURLStreamHandler.java128 String host = u.getHost(); in parseURL() local
537 protected void setURL(URL u, String protocol, String host, int port, in setURL()
545 u.set(u.getProtocol(), host, port, authority, userInfo, path, query, ref); in setURL() local
565 protected void setURL(URL u, String protocol, String host, int port, in setURL()
DProtocolException.java48 public ProtocolException(String host) { in ProtocolException()
/libcore/ojluni/src/main/java/sun/security/ssl/
DSSLSocketFactoryImpl.java85 public Socket createSocket(String host, int port) in createSocket()
107 public Socket createSocket(Socket s, String host, int port, in createSocket()
136 public Socket createSocket(String host, int port, in createSocket()
/libcore/ojluni/src/main/java/java/util/logging/
DSocketHandler.java71 private String host; field in SocketHandler
137 public SocketHandler(String host, int port) throws IOException { in SocketHandler()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketFactoryTest.java114 public Socket createSocket(Socket s, String host, int port, boolean autoClose) { in createSocket()
125 public Socket createSocket(InetAddress host, int port) { in createSocket()
130 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { in createSocket()
135 public Socket createSocket(String host, int port) { in createSocket()
240 InetAddress host = sa.getAddress(); in test_SSLSocketFactory_createSocket() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInetSocketAddressTest.java82 String host; field in InetSocketAddressTest.HostPortPair
86 public HostPortPair(String host, int port) { in HostPortPair()
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
DHttpCallerInfo.java48 final public String host, protocol, prompt, scheme; field in HttpCallerInfo
98 public HttpCallerInfo(URL url, String host, int port) { in HttpCallerInfo()
/libcore/ojluni/src/main/java/sun/security/x509/
DURIName.java85 private String host; field in URIName
167 String host = uri.getSchemeSpecificPart(); in nameConstraint() local
186 URIName(URI uri, String host, DNSName hostDNS) { in URIName()
/libcore/ojluni/src/main/java/sun/net/www/protocol/mailto/
DMailToURLConnection.java70 String host = System.getProperty("mail.host"); in getFromAddress() local
111 String host = client.getMailHost() + ":" + 25; in getPermission() local
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DHandler.java46 String host = url.getHost(); in getHost() local
77 String host = u.getHost(); in openConnection() local
/libcore/ojluni/src/main/java/sun/net/spi/nameservice/
DNameService.java31 …public java.net.InetAddress[] lookupAllHostAddr(String host, int netId) throws UnknownHostExceptio… in lookupAllHostAddr()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DFakeSSLSession.java25 final String host; field in FakeSSLSession
27 public FakeSSLSession(String host) { in FakeSSLSession()
DTestSSLContext.java99 public final InetAddress host; field in TestSSLContext
214 InetAddress host, in TestSSLContext()
294 InetAddress host = InetAddress.getLocalHost(); in create() local
391 public Socket createSocket(String host, int port) in clientAuth()
395 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in clientAuth()
399 public Socket createSocket(InetAddress host, int port) throws IOException { in clientAuth()
414 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in clientAuth()
/libcore/ojluni/src/main/java/sun/net/util/
DURLUtil.java55 String host = url.getHost(); in urlNoFragString() local
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileDescriptorHolderSocketImpl.java62 protected void connect(String host, int port) throws IOException { in connect()
77 protected void bind(InetAddress host, int port) throws IOException { in bind()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
DSocketFactoryTest.java246 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
251 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
257 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
/libcore/ojluni/src/main/java/sun/misc/
DFileURLMapper.java61 String host = url.getHost(); in getPath() local

1234