Searched refs:getHeaderFieldDate (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 634 hf = uc.getHeaderFieldDate("Content-Encoding", Long.MIN_VALUE); 637 hf = uc.getHeaderFieldDate("Content-Length", Long.MIN_VALUE); 640 hf = uc.getHeaderFieldDate("Content-Type", Long.MIN_VALUE); 643 hf = uc.getHeaderFieldDate("content-type", Long.MIN_VALUE); 646 hf = uc.getHeaderFieldDate("Date", Long.MIN_VALUE); 649 hf = uc.getHeaderFieldDate("SERVER", Long.MIN_VALUE); 652 hf = uc.getHeaderFieldDate("Last-Modified", Long.MIN_VALUE);
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLConnection.java | 563 return getHeaderFieldDate("expires", 0); in getExpiration() 575 return getHeaderFieldDate("date", 0); in getDate() 587 return getHeaderFieldDate("last-modified", 0); in getLastModified() 681 public long getHeaderFieldDate(String name, long Default) { in getHeaderFieldDate() method in URLConnection
|
D | HttpURLConnection.java | 757 public long getHeaderFieldDate(String name, long Default) { in getHeaderFieldDate() method in HttpURLConnection
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLConnectionTest.java | 2929 assertEquals(1385551560000L, connection.getHeaderFieldDate("Last-Modified", -1));
|