Home
last modified time | relevance | path

Searched refs:getContentLength (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DResource.java70 public abstract int getContentLength() throws IOException; in getContentLength() method in Resource
100 len = getContentLength(); in getBytes()
DURLClassPath.java774 public int getContentLength() throws IOException {
775 return uc.getContentLength();
998 public int getContentLength()
1309 public int getContentLength() throws IOException
/libcore/luni/src/test/java/libcore/libcore/io/
DClassPathURLStreamHandlerTest.java216 standardJarUrlConnection.getContentLength(), in assertBehaviorSame()
217 actualJarUrlConnection.getContentLength()); in assertBehaviorSame()
/libcore/ojluni/annotations/hiddenapi/sun/net/www/
DURLConnection.java83 public int getContentLength() { in getContentLength() method in URLConnection
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DJarURLConnectionTest.java275 u.openConnection().getContentLength()); in test_getContentLength()
280 u.openConnection().getContentLength()); in test_getContentLength()
/libcore/luni/src/main/java/libcore/io/
DClassPathURLStreamHandler.java193 public int getContentLength() { in getContentLength() method
/libcore/ojluni/src/main/java/sun/net/www/
DURLConnection.java196 public int getContentLength() { in getContentLength() method in URLConnection
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java440 assertEquals(testString.getBytes().length, fileURLCon.getContentLength());
441 assertEquals(Support_TestWebData.test1.length, uc.getContentLength());
442 assertEquals(Support_TestWebData.test2.length, uc2.getContentLength());
445 assertTrue(gifURLCon.getContentLength() > 0);
461 assertTrue(jarURLCon.getContentLength() > 0);
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DFileURLConnection.java155 public int getContentLength() { in getContentLength() method in FileURLConnection
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarURLConnection.java173 public int getContentLength() { in getContentLength() method in JarURLConnection
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DOCSP.java243 int contentLength = con.getContentLength(); in check()
/libcore/ojluni/src/main/java/java/net/
DURLConnection.java512 public int getContentLength() { in getContentLength() method in URLConnection
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java1523 assertEquals(-1, connection.getContentLength()); in gzipEncodingEnabledByDefault()
1541 assertEquals(bodyBytes.length, connection.getContentLength()); in clientConfiguredGzipContentEncoding()
2949 assertEquals(3, connection.getContentLength());