Searched defs:hostname (Results 1 - 9 of 9) sorted by relevance
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/ |
H A D | HostnameVerifier.java | 21 * The interface to be used to provide hostname verification functionality. 24 * during a handshake if the URL's hostname does not match the peer's 25 * identification hostname. 29 * Verifies that the specified hostname is allowed within the specified SSL 32 * @param hostname 33 * the hostname. 36 * @return {@code true} if the specified hostname is allowed, otherwise 39 boolean verify(String hostname, SSLSession session); argument
|
/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | AddressCache.java | 81 * Returns the cached addresses associated with 'hostname'. Returns null if nothing is known 82 * about 'hostname'. Returns an empty array if 'hostname' is known not to exist. 84 public InetAddress[] get(String hostname) { argument 87 entry = map.get(hostname); 99 * Associates the given 'addresses' with 'hostname'. The association will expire after a 102 public void put(String hostname, InetAddress[] addresses) { argument 118 map.put(hostname, new AddressCacheEntry(addresses, expiryNanos)); 123 * Records that 'hostname' is known not to have any associated addresses. (I.e. insert a 126 public void putUnknownHost(String hostname) { argument [all...] |
H A D | InetSocketAddress.java | 31 private String hostname; field in class:InetSocketAddress 69 hostname = addr.getHostName(); 75 * hostname {@code host}. The hostname is tried to be resolved and cannot be 82 * the specified hostname to which this socket is bound. 100 hostname = host; 110 addr = InetAddress.getByName(hostname); 111 hostname = null; 122 * hostname into an {@code InetAddress}. The address field is marked as 126 * the specified hostname t [all...] |
H A D | Socket.java | 146 * Tries to connect a socket to all IP addresses of the given hostname. 203 * IP address for the given hostname until it either connects successfully 234 * IP address for the given hostname until it either connects successfully 267 * IP address for the given hostname until it either connects successfully 408 * @param hostname 409 * the destination hostname. 413 private void checkConnectPermission(String hostname, int dstPort) { argument 416 security.checkConnect(hostname, dstPort);
|
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/ |
H A D | HttpsURLConnectionTest.java | 151 assertNotNull("Default hostname verifyer is null", verifyer); 185 assertEquals("Incorrect value of hostname verirfyer", 492 public boolean verify(String hostname, SSLSession session) { argument 493 if (hostname == session.getPeerHost()) {
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
H A D | HttpsURLConnectionTest.java | 162 // create the HostnameVerifier to check hostname verification 217 // create the HostnameVerifier to check hostname verification 266 // create the HostnameVerifier to check hostname verification 315 // create the HostnameVerifier to check hostname verification 1059 public boolean verify(String hostname, SSLSession session) { argument 1061 System.out.println("***> verification " + hostname + " "
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
H A D | SecurityManagerTest.java | 562 boolean createSocketAddress(String hostname, int port) { argument 565 new InetSocketAddress(hostname, port);
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
H A D | INetworkSystem.java | 87 int trafficClass, InetAddress hostname, int port, int step, 86 connectWithTimeout(FileDescriptor aFD, int timeout, int trafficClass, InetAddress hostname, int port, int step, byte[] context) argument
|
H A D | OSNetworkSystem.java | 148 int timeout, int trafficClass, InetAddress hostname, int port, int step, 147 connectWithTimeoutSocketImpl(FileDescriptor aFD, int timeout, int trafficClass, InetAddress hostname, int port, int step, byte[] context) argument
|
Completed in 112 milliseconds