Home
last modified time | relevance | path

Searched refs:getHeaderFieldDate (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java634 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/
DURLConnection.java563 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
DHttpURLConnection.java757 public long getHeaderFieldDate(String name, long Default) { in getHeaderFieldDate() method in HttpURLConnection
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java2929 assertEquals(1385551560000L, connection.getHeaderFieldDate("Last-Modified", -1));