/libcore/luni/src/main/java/java/net/ |
D | ContentHandler.java | 41 public abstract Object getContent(URLConnection uConn) throws IOException; in getContent() method in ContentHandler 57 public Object getContent(URLConnection uConn, Class[] types) in getContent() method in ContentHandler 59 Object content = getContent(uConn); in getContent()
|
D | URLConnection.java | 188 public Object getContent() throws java.io.IOException { in getContent() method in URLConnection 199 return getContentHandler(contentType).getContent(this); in getContent() 222 public Object getContent(Class[] types) throws IOException { in getContent() method in URLConnection 233 return getContentHandler(contentType).getContent(this, types); in getContent() 1016 public Object getContent(URLConnection u) throws IOException { in getContent() method in URLConnection.DefaultContentHandler
|
D | URL.java | 454 public final Object getContent() throws IOException { in getContent() method in URL 455 return openConnection().getContent(); in getContent() 462 public final Object getContent(Class[] types) throws IOException { in getContent() method in URL 463 return openConnection().getContent(types); in getContent()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | ContentHandlerTest.java | 38 Object content = handler.getContent(conn, classes); in test_getContent() 42 content = handler.getContent(conn, classes); in test_getContent() 47 content = handler.getContent(conn, classes2); in test_getContent() 57 public Object getContent(URLConnection uConn) throws IOException { in getContent() method in ContentHandlerImpl
|
D | URLConnectionTest.java | 355 Object obj = fileURLCon.getContent(); 375 fakeCon.getContent(); 382 uc.getContent(); 398 … InputStream helloWorld2 = (InputStream) fileURLCon.getContent(new Class[] {InputStream.class}); 404 String test = (String) fileURLCon.getContent(new Class[] {String.class} ); 410 uc.getContent(); 416 ((InputStream) fileURLCon.getContent(null)).read(ba, 0, 600); 423 ((InputStream) fileURLCon.getContent(new Class[] {})).read(ba, 0, 600); 430 ((InputStream) fileURLCon.getContent(new Class[] { Class.class })).read(ba,
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldCookieHandlerTest.java | 57 connection.getContent(); in test_get_put()
|
D | OldURLTest.java | 259 InputStream output = (InputStream) fileURL.getContent(); in testGetContent() 270 invalidFile.getContent(); in testGetContent() 330 is = (InputStream) u.getContent(new Class[] { Object.class }); in testOpenConnection() 701 is = (InputStream) u.getContent(new Class[] {InputStream.class}); in test_getContent_LJavaLangClass() 710 is = (InputStream) u.getContent(new Class[] { in test_getContent_LJavaLangClass() 723 s = (String) u.getContent(new Class[] {String.class}); in test_getContent_LJavaLangClass()
|
D | URLConnectionTest.java | 2013 InputStream in = (InputStream) connection.getContent(); 2022 connection.getContent(null); 2027 connection.getContent(new Class[] { null }); 2031 assertNull(connection.getContent(new Class[] { getClass() }));
|
/libcore/luni/src/main/java/libcore/net/url/ |
D | JarURLConnectionImpl.java | 297 public Object getContent() throws IOException { in getContent() method in JarURLConnectionImpl 303 return super.getContent(); in getContent()
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
D | ContentInfo.java | 70 public Object getContent() { in getContent() method in ContentInfo
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | URLTest.java | 745 is = (InputStream) u.getContent(); in test_getContent() 775 is = (InputStream) u.getContent(new Class[] { Object.class }); in test_getContent_LJavaLangClass()
|