Searched defs:contentType (Results 1 - 12 of 12) sorted by relevance

/dalvik/libcore/luni/src/main/java/java/net/
H A DContentHandlerFactory.java27 * Creates a content handler to handle {@code contentType}.
29 * @param contentType
34 ContentHandler createContentHandler(String contentType); argument
H A DURLConnection.java49 private String contentType; field in class:URLConnection
160 if ((contentType = getContentType()) == null) {
161 if ((contentType = guessContentTypeFromName(url.getFile())) == null) {
162 contentType = guessContentTypeFromStream(getInputStream());
165 if (contentType != null) {
166 return getContentHandler(contentType).getContent(this);
194 if ((contentType = getContentType()) == null) {
195 if ((contentType = guessContentTypeFromName(url.getFile())) == null) {
196 contentType = guessContentTypeFromStream(getInputStream());
199 if (contentType !
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/cms/
H A DCMSAttributes.java8 public static final DERObjectIdentifier contentType = PKCSObjectIdentifiers.pkcs_9_at_contentType; field in interface:CMSAttributes
H A DContentInfo.java19 private DERObjectIdentifier contentType; field in class:ContentInfo
42 contentType = (DERObjectIdentifier)e.nextElement();
51 DERObjectIdentifier contentType,
54 this.contentType = contentType;
60 return contentType;
72 * contentType ContentType,
74 * [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
81 v.add(contentType);
50 ContentInfo( DERObjectIdentifier contentType, DEREncodable content) argument
H A DEncryptedContentInfo.java17 private DERObjectIdentifier contentType; field in class:EncryptedContentInfo
22 DERObjectIdentifier contentType,
26 this.contentType = contentType;
34 contentType = (DERObjectIdentifier)seq.getObjectAt(0);
69 return contentType;
86 * contentType ContentType,
96 v.add(contentType);
21 EncryptedContentInfo( DERObjectIdentifier contentType, AlgorithmIdentifier contentEncryptionAlgorithm, ASN1OctetString encryptedContent) argument
/dalvik/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMTestIncompatibleException.java62 String contentType) {
67 buf.append(contentType);
61 incompatibleLoad(String href, String contentType) argument
H A DDOMTest.java132 public String getResourceURI(String href, String scheme, String contentType) throws argument
145 if ("application/pdf".equals(contentType)) {
214 public void preload(String contentType, String docURI, boolean willBeModified) throws argument
216 if ("text/html".equals(contentType) ||
217 "application/xhtml+xml".equals(contentType)) {
219 throw DOMTestIncompatibleException.incompatibleLoad(docURI, contentType);
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/pkcs/
H A DContentInfo.java19 private DERObjectIdentifier contentType; field in class:ContentInfo
42 contentType = (DERObjectIdentifier)e.nextElement();
51 DERObjectIdentifier contentType,
54 this.contentType = contentType;
60 return contentType;
72 * contentType ContentType,
74 * [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
81 v.add(contentType);
50 ContentInfo( DERObjectIdentifier contentType, DEREncodable content) argument
H A DEncryptedData.java16 * contentType ContentType,
60 DERObjectIdentifier contentType,
66 v.add(contentType);
59 EncryptedData( DERObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, DEREncodable content) argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
H A DDisplayText.java60 int contentType; field in class:DisplayText
79 contentType = type;
114 contentType = CONTENT_TYPE_UTF8STRING;
/dalvik/libcore/xml/src/test/java/tests/org/w3c/dom/
H A DDOMTestCase.java43 public void preload(String contentType, String docURI, argument
45 if ("text/html".equals(contentType)
46 || "application/xhtml+xml".equals(contentType)) {
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_TestWebServer.java120 * @param contentType the type of the dynamic web test data
122 public void initServer(int port, String servePath, String contentType) argument
124 Support_TestWebData.initDynamicTestWebData(servePath, contentType);

Completed in 177 milliseconds