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.java98 String host = "new host"; in test_ConstructorLjava_lang_StringI02() local
101 assertEquals(e.getPeerHost(), host); in test_ConstructorLjava_lang_StringI02() local
112 String host = "new host"; in test_ConstructorLjava_lang_StringI03() local
115 assertEquals(e.getPeerHost(), host); in test_ConstructorLjava_lang_StringI03() local
340 String host = "new host"; in test_unwrap_02() local
376 String host = "new host"; in test_unwrap_03() local
398 String host = "new host"; in test_unwrap_04() local
436 String host = "new host"; in test_unwrap_05() local
455 String host = "new host"; in test_unwrap_06() local
482 String host = "new host"; in test_wrap_02() local
[all …]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DFakeSSLSocketFactory.java40 public Socket createSocket(Socket s, String host, int port, boolean autoClose) { in createSocket()
51 public Socket createSocket(InetAddress host, int port) { in createSocket()
56 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { in createSocket()
61 public Socket createSocket(String host, int port) { in createSocket()
/libcore/ojluni/annotations/sdk/nullability/java/net/
DInetAddress.annotated.java73 …String host, byte[] addr) throws java.net.UnknownHostException { throw new RuntimeException("Stub!… in getByAddress()
75 …ava.lang.String host) throws java.net.UnknownHostException { throw new RuntimeException("Stub!"); } in getByName()
77 …ava.lang.String host) throws java.net.UnknownHostException { throw new RuntimeException("Stub!"); } in getAllByName()
85 …g.String host, int netId) throws java.net.UnknownHostException { throw new RuntimeException("Stub!… in getByNameOnNet()
87 …a.lang.String host, int netId) throws java.net.UnknownHostException { throw new RuntimeException("… in getAllByNameOnNet()
/libcore/ojluni/src/main/java/javax/net/
DSocketFactory.java163 public abstract Socket createSocket(String host, int port) in createSocket()
195 createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
221 public abstract Socket createSocket(InetAddress host, int port) in createSocket()
276 public Socket createSocket(String host, int port) in createSocket()
288 public Socket createSocket(String host, int port, in createSocket()
/libcore/ojluni/annotations/mmodule/java/net/
DInetAddress.annotated.java78 public static java.net.InetAddress getByAddress(java.lang.String host, byte[] addr) throws java.net… in getByAddress()
80 public static java.net.InetAddress getByName(java.lang.String host) throws java.net.UnknownHostExce… in getByName()
82 public static java.net.InetAddress[] getAllByName(java.lang.String host) throws java.net.UnknownHos… in getAllByName()
100 public static java.net.InetAddress getByNameOnNet(java.lang.String host, int netId) throws java.net… in getByNameOnNet()
103 public static java.net.InetAddress[] getAllByNameOnNet(java.lang.String host, int netId) throws jav… in getAllByNameOnNet()
DInet6Address.annotated.java36 public static java.net.Inet6Address getByAddress(java.lang.String host, byte[] addr, java.net.Netwo… in getByAddress()
38 public static java.net.Inet6Address getByAddress(java.lang.String host, byte[] addr, int scope_id) … in getByAddress()
/libcore/luni/src/test/java/libcore/java/net/
DSocketPermissionTest.java32 String host = "www.example.com"; in testGetAction() local
41 String host = "www.example.com"; in testImplies() local
DDelegatingSocketFactory.java52 public Socket createSocket(String host, int port) throws IOException { in createSocket()
58 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
65 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
/libcore/ojluni/src/main/java/java/net/
DInetAddress.java652 String host = null; in getHostFromNameService() local
1045 public static InetAddress getByAddress(String host, byte[] addr) throws UnknownHostException { in getByAddress()
1051 private static InetAddress getByAddress(String host, byte[] addr, int scopeId) in getByAddress()
1103 public static InetAddress getByName(String host) in getByName()
1148 public static InetAddress[] getAllByName(String host) in getAllByName()
1571 String host = (String)gf.get("hostName", null); in readObject() local
1669 public static InetAddress getByNameOnNet(String host, int netId) throws UnknownHostException { in getByNameOnNet()
1683 …public static InetAddress[] getAllByNameOnNet(String host, int netId) throws UnknownHostException { in getAllByNameOnNet()
DURL.java175 private String host; field in URL
313 public URL(String protocol, String host, int port, String file) in URL()
337 public URL(String protocol, String host, String file) in URL()
381 public URL(String protocol, String host, int port, String file, in URL()
679 void set(String protocol, String host, int port, in set()
716 void set(String protocol, String host, int port, in set()
1364 String host = (String)gf.get("host", null); in readObject() local
1410 String host = tempState.getHost(); in setDeserializedFields() local
1518 Parts(String file, String host) { in Parts()
DURLStreamHandler.java127 String host = u.getHost(); in parseURL() local
566 protected void setURL(URL u, String protocol, String host, int port, in setURL()
574 u.set(u.getProtocol(), host, port, authority, userInfo, path, query, ref); in setURL() local
594 protected void setURL(URL u, String protocol, String host, int port, in setURL()
DSocketPermission.java41 public SocketPermission(String host, String action) { super(""); } in SocketPermission()
/libcore/ojluni/src/main/java/java/util/logging/
DSocketHandler.java85 private String host; field in SocketHandler
150 public SocketHandler(String host, int port) throws IOException { in SocketHandler()
/libcore/ojluni/annotations/hiddenapi/java/net/
DInetAddress.java133 public static java.net.InetAddress getByAddress(java.lang.String host, byte[] addr) in getByAddress()
139 java.lang.String host, byte[] addr, int scopeId) throws java.net.UnknownHostException { in getByAddress()
143 public static java.net.InetAddress getByName(java.lang.String host) in getByName()
148 public static java.net.InetAddress[] getAllByName(java.lang.String host) in getAllByName()
217 public static java.net.InetAddress getByNameOnNet(java.lang.String host, int netId) in getByNameOnNet()
223 public static java.net.InetAddress[] getAllByNameOnNet(java.lang.String host, int netId) in getAllByNameOnNet()
DURL.java34 public URL(java.lang.String protocol, java.lang.String host, int port, java.lang.String file) in URL()
39 public URL(java.lang.String protocol, java.lang.String host, java.lang.String file) in URL()
46 java.lang.String host, in URL()
77 java.lang.String host, in set()
86 java.lang.String host, in set()
252 private java.lang.String host; field in URL
DInet6AddressImpl.java36 public java.net.InetAddress[] lookupAllHostAddr(java.lang.String host, int netId) in lookupAllHostAddr()
41 private static java.net.InetAddress[] lookupHostByName(java.lang.String host, int netId) in lookupHostByName()
/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/security/x509/
DURIName.java85 private String host; field in URIName
165 String host = uri.getSchemeSpecificPart(); in nameConstraint() local
183 URIName(URI uri, String host, DNSName hostDNS) { in URIName()
/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/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/spi/nameservice/
DNameService.java34 …public java.net.InetAddress[] lookupAllHostAddr(String host, int netId) throws UnknownHostExceptio… in lookupAllHostAddr()
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DURIName.java39 URIName(java.net.URI uri, java.lang.String host, sun.security.x509.DNSName hostDNS) { in URIName()
99 private java.lang.String host; field in URIName
/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/ojluni/src/main/java/sun/net/util/
DURLUtil.java55 String host = url.getHost(); in urlNoFragString() local

1234