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

/libcore/ojluni/src/main/java/sun/misc/
H A DResource.java70 public abstract int getContentLength() throws IOException; method in class:Resource
100 len = getContentLength();
H A DURLClassPath.java556 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/
H A DClassPathURLStreamHandlerTest.java213 standardJarUrlConnection.getContentLength(),
214 actualJarUrlConnection.getContentLength());
/libcore/ojluni/src/main/java/sun/net/www/protocol/https/
H A DHttpsURLConnectionImpl.java397 public int getContentLength() { method in class:HttpsURLConnectionImpl
398 return delegate.getContentLength();
/libcore/luni/src/main/java/libcore/io/
H A DClassPathURLStreamHandler.java192 public int getContentLength() { method in class:ClassPathURLStreamHandler.ClassPathURLConnection
/libcore/ojluni/src/main/java/sun/net/www/
H A DURLConnection.java201 public int getContentLength() { method in class:URLConnection
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
H A DFileURLConnection.java75 * getContentType, getInputStream or getContentLength reflect
155 public int getContentLength() { method in class:FileURLConnection
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
H A DJarURLConnection.java167 public int getContentLength() { method in class:JarURLConnection
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DJarURLConnectionTest.java268 * java.net.JarURLConnection#getContentLength()
275 u.openConnection().getContentLength());
280 u.openConnection().getContentLength());
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DURLConnectionTest.java441 * {@link java.net.URLConnection#getContentLength()}
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/security/provider/certpath/
H A DOCSP.java243 int contentLength = con.getContentLength();
/libcore/ojluni/src/main/java/java/net/
H A DURLConnection.java107 * <li><code>getContentLength</code>
152 * @see java.net.URLConnection#getContentLength()
352 * connected, like getContentLength, will implicitly perform the
483 public int getContentLength() { method in class:URLConnection
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java1200 assertEquals(-1, connection.getContentLength());
1218 assertEquals(bodyBytes.length, connection.getContentLength());
2615 assertEquals(3, connection.getContentLength());

Completed in 582 milliseconds