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

/dalvik/libcore/luni/src/main/java/java/net/
H A DContentHandler.java28 * @see URL#getContent()
29 * @see URLConnection#getContent()
41 public abstract Object getContent(URLConnection uConn) throws IOException; method in class:ContentHandler
57 public Object getContent(URLConnection uConn, Class[] types) method in class:ContentHandler
59 Object content = getContent(uConn);
H A DURLConnection.java155 public Object getContent() throws java.io.IOException { method in class:URLConnection
166 return getContentHandler(contentType).getContent(this);
189 public Object getContent(Class[] types) throws IOException { method in class:URLConnection
200 return getContentHandler(contentType).getContent(this, types);
1050 * @see java.net.ContentHandler#getContent(java.net.URLConnection)
1053 public Object getContent(URLConnection u) throws IOException { method in class:URLConnection.DefaultContentHandler
H A DURL.java620 public final Object getContent() throws IOException { method in class:URL
621 return openConnection().getContent();
641 public final Object getContent(Class[] types) throws IOException { method in class:URL
642 return openConnection().getContent(types);
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DContentHandlerTest.java36 * @tests java.net.ContentHandler#getContent(java.net.URLConnection,
42 method = "getContent",
50 Object content = handler.getContent(conn, classes);
54 content = handler.getContent(conn, classes);
59 content = handler.getContent(conn, classes2);
67 method = "getContent",
75 Object content = handler.getContent(conn);
96 public Object getContent(URLConnection uConn) throws IOException { method in class:ContentHandlerImpl
H A DContentHandlerFactoryTest.java66 con.getContent();
76 con.getContent(new Class[] {});
102 assertNotNull(ch.getContent(url.openConnection()));
154 public Object getContent(URLConnection u) { method in class:ContentHandlerFactoryTest.TestContentHandler
H A DURLTest.java393 * Test method for {@link java.net.URL#getContent()}.
398 method = "getContent",
409 InputStream output = (InputStream) fileURL.getContent();
420 invalidFile.getContent();
498 is = (InputStream) u.getContent(new Class[] { Object.class });
1103 * Test method for {@link java.net.URL#getContent(java.lang.Class[])}.
1108 method = "getContent",
1122 is = (InputStream) u.getContent(new Class[] {InputStream.class});
1131 is = (InputStream) u.getContent(new Class[] {
1144 s = (String) u.getContent(ne
[all...]
H A DURLConnectionTest.java584 * @tests {@link java.net.URLConnection#getContent()}
589 method = "getContent",
596 Object obj = fileURLCon.getContent();
615 fakeCon.getContent();
622 uc.getContent();
630 * @tests {@link java.net.URLConnection#getContent(Class[])}
635 method = "getContent",
644 InputStream helloWorld2 = (InputStream) fileURLCon.getContent(new Class[] {InputStream.class});
650 String test = (String) fileURLCon.getContent(new Class[] {String.class} );
656 uc.getContent();
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/cms/
H A DContentInfo.java63 public DEREncodable getContent() method in class:ContentInfo
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/pkcs/
H A DContentInfo.java63 public DEREncodable getContent() method in class:ContentInfo
H A DEncryptedData.java83 public ASN1OctetString getContent() method in class:EncryptedData
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DCookieHandlerTest.java171 Object obj = conn.getContent();
174 obj = conn.getContent();
H A DResponseCacheTest.java215 httpCon.getContent();
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/https/
H A DHttpsURLConnectionImpl.java156 public Object getContent() throws IOException { method in class:HttpsURLConnectionImpl
157 return httpsEngine.getContent();
162 public Object getContent(Class[] types) throws IOException { method in class:HttpsURLConnectionImpl
163 return httpsEngine.getContent(types);
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/
H A DJarURLConnectionImpl.java312 public Object getContent() throws IOException { method in class:JarURLConnectionImpl
318 return super.getContent();
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/pkcs7/
H A DContentInfo.java77 public Object getContent() { method in class:ContentInfo
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DJDKPKCS12KeyStore.java742 byte[] data = ((ASN1OctetString)info.getContent()).getOctets();
823 bIn = new ASN1InputStream(((ASN1OctetString)info.getContent()).getOctets());
832 ASN1InputStream dIn = new ASN1InputStream(((ASN1OctetString)c[i].getContent()).getOctets());
911 EncryptedData d = new EncryptedData((ASN1Sequence)c[i].getContent());
912 ASN1Sequence seq = decryptData(d.getEncryptionAlgorithm(), d.getContent().getOctets(), password, wrongPKCS12Zero);
1030 System.out.println("extra " + ASN1Dump.dumpAsString(c[i].getContent()));
1459 byte[] data = ((ASN1OctetString)mainInfo.getContent()).getOctets();
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/
H A DPKCS7SignedData.java130 SignedData data = SignedData.getInstance(content.getContent());

Completed in 167 milliseconds