/libcore/ojluni/src/main/java/sun/misc/ |
D | Resource.java | 70 public abstract int getContentLength() throws IOException; in getContentLength() method in Resource 100 len = getContentLength(); in getBytes()
|
D | URLClassPath.java | 556 public int getContentLength() throws IOException { 557 return uc.getContentLength(); 775 public int getContentLength() 1085 public int getContentLength() throws IOException
|
/libcore/luni/src/test/java/libcore/io/ |
D | ClassPathURLStreamHandlerTest.java | 213 standardJarUrlConnection.getContentLength(), in assertBehaviorSame() 214 actualJarUrlConnection.getContentLength()); in assertBehaviorSame()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/https/ |
D | HttpsURLConnectionImpl.java | 397 public int getContentLength() { in getContentLength() method in HttpsURLConnectionImpl 398 return delegate.getContentLength(); in getContentLength()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | JarURLConnectionTest.java | 275 u.openConnection().getContentLength()); in test_getContentLength() 280 u.openConnection().getContentLength()); in test_getContentLength()
|
/libcore/luni/src/main/java/libcore/io/ |
D | ClassPathURLStreamHandler.java | 192 public int getContentLength() { in getContentLength() method
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | URLConnection.java | 201 public int getContentLength() { in getContentLength() method in URLConnection
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 444 assertEquals(testString.getBytes().length, fileURLCon.getContentLength()); 445 assertEquals(Support_TestWebData.test1.length, uc.getContentLength()); 446 assertEquals(Support_TestWebData.test2.length, uc2.getContentLength()); 448 assertTrue(jarURLCon.getContentLength() > 0); 449 assertTrue(gifURLCon.getContentLength() > 0);
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
D | FileURLConnection.java | 155 public int getContentLength() { in getContentLength() method in FileURLConnection
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | JarURLConnection.java | 167 public int getContentLength() { in getContentLength() method in JarURLConnection
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | OCSP.java | 243 int contentLength = con.getContentLength(); in check()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLConnection.java | 483 public int getContentLength() { in getContentLength() method in URLConnection
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLConnectionTest.java | 1200 assertEquals(-1, connection.getContentLength()); in testGzipEncodingEnabledByDefault() 1218 assertEquals(bodyBytes.length, connection.getContentLength()); in testClientConfiguredGzipContentEncoding() 2615 assertEquals(3, connection.getContentLength());
|