Home
last modified time | relevance | path

Searched refs:getContent (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/main/java/java/net/
DContentHandler.java41 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()
DURLConnection.java188 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
DURL.java454 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/
DContentHandlerTest.java38 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
DURLConnectionTest.java355 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/
DOldCookieHandlerTest.java57 connection.getContent(); in test_get_put()
DOldURLTest.java259 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()
DURLConnectionTest.java2013 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/
DJarURLConnectionImpl.java297 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/
DContentInfo.java70 public Object getContent() { in getContent() method in ContentInfo
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURLTest.java745 is = (InputStream) u.getContent(); in test_getContent()
775 is = (InputStream) u.getContent(new Class[] { Object.class }); in test_getContent_LJavaLangClass()