Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/net/
DContentHandler.java81 abstract public Object getContent(URLConnection urlc) throws IOException; in getContent() method in ContentHandler
100 public Object getContent(URLConnection urlc, Class[] classes) throws IOException { in getContent() method in ContentHandler
101 Object obj = getContent(urlc); in getContent()
DURLConnection.java763 public Object getContent() throws IOException { in getContent() method in URLConnection
768 return getContentHandler().getContent(this); in getContent()
791 public Object getContent(Class[] classes) throws IOException { in getContent() method in URLConnection
796 return getContentHandler().getContent(this, classes); in getContent()
1817 public Object getContent(URLConnection uc) throws IOException { in getContent() method in UnknownContentHandler
DURL.java1085 public final Object getContent() throws java.io.IOException { in getContent() method in URL
1086 return openConnection().getContent(); in getContent()
1103 public final Object getContent(Class[] classes) in getContent() method in URL
1105 return openConnection().getContent(classes); 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.java350 Object obj = fileURLCon.getContent();
370 fakeCon.getContent();
378 uc.getContent();
394 … InputStream helloWorld2 = (InputStream) fileURLCon.getContent(new Class[] {InputStream.class});
400 String test = (String) fileURLCon.getContent(new Class[] {String.class} );
406 uc.getContent();
412 ((InputStream) fileURLCon.getContent(null)).read(ba, 0, 600);
419 ((InputStream) fileURLCon.getContent(new Class[] {})).read(ba, 0, 600);
426 ((InputStream) fileURLCon.getContent(new Class[] { Class.class })).read(ba,
/libcore/luni/src/test/java/libcore/libcore/net/
DNetworkSecurityPolicyTest.java102 url.openConnection().getContent(); in testCleartextTrafficPolicyWithHttpURLConnection()
115 url.openConnection().getContent(); in testCleartextTrafficPolicyWithHttpURLConnection()
130 url.openConnection().getContent(); in testCleartextTrafficPolicyWithFtpURLConnection()
143 url.openConnection().getContent(); in testCleartextTrafficPolicyWithFtpURLConnection()
/libcore/luni/src/test/java/libcore/java/net/
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()
DOldCookieHandlerTest.java70 connection.getContent(); in test_get_put()
DURLConnectionTest.java2851 @Test public void getContent() throws Exception {
2855 InputStream in = (InputStream) connection.getContent();
2864 connection.getContent(null);
2869 connection.getContent(new Class[] { null });
2873 assertNull(connection.getContent(new Class[] { getClass() }));
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarURLConnection.java196 public Object getContent() throws IOException { in getContent() method in JarURLConnection
203 result = super.getContent(); in getContent()
/libcore/ojluni/annotations/mmodule/sun/security/pkcs/
DContentInfo.annotated.java69 public sun.security.util.DerValue getContent() { throw new RuntimeException("Stub!"); } in getContent() method in ContentInfo
/libcore/ojluni/annotations/hiddenapi/java/net/
DURL.java172 public java.lang.Object getContent() throws java.io.IOException { in getContent() method in URL
176 public java.lang.Object getContent(java.lang.Class[] classes) throws java.io.IOException { in getContent() method in URL
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/
DContentInfo.java55 public sun.security.util.DerValue getContent() { in getContent() method in ContentInfo
/libcore/ojluni/src/main/java/sun/security/pkcs/
DContentInfo.java157 public DerValue getContent() { in getContent() method in ContentInfo
DPKCS7.java195 DerValue content = contentInfo.getContent(); in parse()
/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()
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt438 method public byte[] getContent();