Searched refs:contentType (Results 1 - 25 of 184) sorted by last modified time

12345678

/external/smack/asmack-master/lib/
H A Dhttpclient-4.1.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/cookie/ ...
H A Dhttpcore-4.1.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/impl/ ...
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
H A Dhttpclient-4.0.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/cookie/ ...
H A Dhttpcore-4.0.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/protocol/ ...
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
H A DRobolectric.java1084 * @param contentType the contentType of the response
1088 public static void addPendingHttpResponseWithContentType(int statusCode, String responseBody, Header contentType) { argument
1089 getFakeHttpLayer().addPendingHttpResponse(statusCode, responseBody, contentType);
/external/owasp/sanitizer/src/tests/org/owasp/html/
H A DAntiSamyTest.java799 private static String guessCharsetFromContentType(String contentType) { argument
801 .matcher(contentType);
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd/ edu/umd/cs/ edu/ ...
/external/openssl/crypto/cms/
H A Dcms_asn1.c139 ASN1_SIMPLE(CMS_EncryptedContentInfo, contentType, ASN1_OBJECT),
312 } ASN1_ADB_END(CMS_ContentInfo, 0, contentType, 0, &cms_default_tt, NULL);
347 ASN1_SIMPLE(CMS_ContentInfo, contentType, ASN1_OBJECT),
385 ASN1_SIMPLE(CMS_Receipt, contentType, ASN1_OBJECT),
H A Dcms_cd.c94 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_compressedData);
119 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_compressedData)
H A Dcms_dd.c79 cms->contentType = OBJ_nid2obj(NID_pkcs7_digest);
H A Dcms_enc.c253 ec->contentType = OBJ_nid2obj(NID_pkcs7_data);
275 cms->contentType = OBJ_nid2obj(NID_pkcs7_encrypted);
278 else if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_encrypted)
H A Dcms_env.c76 if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_enveloped)
97 cms->d.envelopedData->encryptedContentInfo->contentType =
99 ASN1_OBJECT_free(cms->contentType);
100 cms->contentType = OBJ_nid2obj(NID_pkcs7_enveloped);
H A Dcms_ess.c339 if (OBJ_cmp(octype, rct->contentType))
406 rct.contentType = ctype;
H A Dcms_io.c116 int ctype_nid = OBJ_obj2nid(cms->contentType);
H A Dcms_lcl.h98 ASN1_OBJECT *contentType; member in struct:CMS_ContentInfo_st
171 ASN1_OBJECT *contentType; member in struct:CMS_EncryptedContentInfo_st
409 ASN1_OBJECT *contentType; member in struct:CMS_Receipt_st
H A Dcms_lib.c73 return cms->contentType;
82 cms->contentType = OBJ_nid2obj(NID_pkcs7_data);
117 switch (OBJ_obj2nid(cms->contentType))
183 switch (OBJ_obj2nid(cms->contentType))
211 switch (OBJ_obj2nid(cms->contentType))
250 switch (OBJ_obj2nid(cms->contentType))
257 return &cms->d.envelopedData->encryptedContentInfo->contentType;
263 return &cms->d.encryptedData->encryptedContentInfo->contentType;
421 switch (OBJ_obj2nid(cms->contentType))
500 switch (OBJ_obj2nid(cms->contentType))
[all...]
H A Dcms_sd.c69 if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_signed)
91 ASN1_OBJECT_free(cms->contentType);
92 cms->contentType = OBJ_nid2obj(NID_pkcs7_signed);
/external/oauth/core/src/main/java/net/oauth/
H A DOAuth.java76 public static boolean isFormEncoded(String contentType) { argument
77 if (contentType == null) {
80 int semi = contentType.indexOf(";");
82 contentType = contentType.substring(0, semi);
84 return FORM_ENCODED.equalsIgnoreCase(contentType.trim());
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/spdy/
H A DSpdyServer.java133 headerEntries(":status", "200", ":version", "HTTP/1.1", "content-type", contentType(file)),
148 private String contentType(File file) { method in class:SpdyServer
/external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/
H A DMainTest.java47 assertEquals("application/x-form-urlencoded; charset=utf-8", body.contentType().toString());
56 assertEquals("application/x-form-urlencoded; charset=utf-8", body.contentType().toString());
66 assertEquals("application/json; charset=utf-8", body.contentType().toString());
91 body.contentType().charset());
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DHttpResponseCache.java557 String contentType = responseHeaders.get("Content-Type");
563 .body(new CacheResponseBody(snapshot, contentType, contentLength))
581 private final String contentType; field in class:HttpResponseCache.CacheResponseBody
585 String contentType, String contentLength) {
587 this.contentType = contentType;
603 @Override public MediaType contentType() { method in class:HttpResponseCache.CacheResponseBody
604 return contentType != null ? MediaType.parse(contentType) : null;
584 CacheResponseBody(final DiskLruCache.Snapshot snapshot, String contentType, String contentLength) argument
H A DJob.java101 MediaType contentType = body.contentType();
102 if (contentType == null) throw new IllegalStateException("contentType == null");
105 requestBuilder.header("Content-Type", contentType.toString());
250 @Override public MediaType contentType() { method in class:Job.RealResponseBody
251 String contentType = response.header("Content-Type");
252 return contentType != null ? MediaType.parse(contentType) : null;
H A DRequest.java150 public abstract MediaType contentType(); method in class:Request.Body
165 * contentType} lacks a charset, this will use UTF-8.
167 public static Body create(MediaType contentType, String content) { argument
168 contentType = contentType.charset() != null
169 ? contentType
170 : MediaType.parse(contentType + "; charset=utf-8");
172 byte[] bytes = content.getBytes(contentType.charset().name());
173 return create(contentType, bytes);
180 public static Body create(final MediaType contentType, fina argument
200 create(final MediaType contentType, final File file) argument
[all...]
H A DResponse.java234 public abstract MediaType contentType(); method in class:Response.Body
290 MediaType contentType = contentType();
291 return contentType != null ? contentType.charset(UTF_8) : UTF_8;

Completed in 1828 milliseconds

12345678