Home
last modified time | relevance | path

Searched defs:contentType (Results 1 – 25 of 63) sorted by relevance

123

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRequestTest.java34 MediaType contentType = MediaType.parse("text/plain; charset=utf-8"); in string() local
43 MediaType contentType = MediaType.parse("text/plain"); in stringWithDefaultCharsetAdded() local
51 MediaType contentType = MediaType.parse("text/plain; charset=utf-16be"); in stringWithNonDefaultCharsetSpecified() local
59 MediaType contentType = MediaType.parse("text/plain"); in byteArray() local
68 MediaType contentType = MediaType.parse("text/plain"); in byteArrayRange() local
82 MediaType contentType = MediaType.parse("text/plain"); in file() local
92 MediaType contentType = MediaType.parse("application/json"); in crudVerbs() local
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DResponseBody.java34 public abstract MediaType contentType(); in contentType() method in ResponseBody
87 MediaType contentType = contentType(); in charset() local
99 public static ResponseBody create(MediaType contentType, String content) { in create()
113 public static ResponseBody create(final MediaType contentType, byte[] content) { in create()
120 final MediaType contentType, final long contentLength, final BufferedSource content) { in create()
DRequestBody.java29 public abstract MediaType contentType(); in contentType() method in RequestBody
46 public static RequestBody create(MediaType contentType, String content) { in create()
60 public static RequestBody create(final MediaType contentType, final ByteString content) { in create()
DMultipartBuilder.java198 private final MediaType contentType; field in MultipartBuilder.MultipartRequestBody
213 @Override public MediaType contentType() { in contentType() method in MultipartBuilder.MultipartRequestBody
254 MediaType contentType = body.contentType(); in writeOrCountBytes() local
DCache.java639 String contentType = responseHeaders.get("Content-Type"); in response() local
674 private final String contentType; field in CacheResponseBody
678 String contentType, String contentLength) { in CacheResponseBody()
692 @Override public MediaType contentType() { in contentType() method in CacheResponseBody
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentType.java86 public ContentType(String contentType, String contentSubtype) { in ContentType()
173 public void setContentType(String contentType, String contentSubType) { in setContentType()
185 public void setContentType(String contentType) throws ParseException { in setContentType()
197 public void setContentSubType(String contentType) throws ParseException { in setContentSubType()
/external/apache-http/android/src/com/android/internal/http/multipart/
DPartBase.java45 private String contentType; field in PartBase
61 public PartBase(String name, String contentType, String charSet, String transferEncoding) { in PartBase()
124 public void setContentType(String contentType) { in setContentType()
DFilePart.java91 public FilePart(String name, PartSource partSource, String contentType, String charset) { in FilePart()
143 public FilePart(String name, File file, String contentType, String charset) in FilePart()
177 public FilePart(String name, String fileName, File file, String contentType, String charset) in FilePart()
/external/nist-sip/java/gov/nist/javax/sip/message/
DMessageFactoryImpl.java124 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, in createRequest()
181 ContentTypeHeader contentType) throws ParseException { in createRequest()
289 ContentTypeHeader contentType) throws ParseException { in createResponse()
346 ContentTypeHeader contentType) throws ParseException { in createResponse()
434 ContentTypeHeader contentType, Object content) in createResponse()
467 ContentTypeHeader contentType, byte[] content) in createResponse()
547 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, in createRequest()
600 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, in createResponse()
656 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, in createResponse()
832 String[] contentType, in createMultipartMimeContent()
DMessageFactoryExt.java62 String[] contentType, in createMultipartMimeContent()
/external/nist-sip/java/javax/sip/message/
DMessageFactory.java18 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, in createRequest()
23 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, in createRequest()
34 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, in createResponse()
39 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, in createResponse()
47 ContentTypeHeader contentType, Object content) in createResponse()
51 ContentTypeHeader contentType, byte[] content) in createResponse()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DContentTypeParser.java48 public ContentTypeParser(String contentType) { in ContentTypeParser()
58 ContentType contentType = new ContentType(); in parse() local
/external/skia/src/core/
DSkPaintPriv.cpp16 bool isPaintOpaque(const SkPaint* paint, SkPaintBitmapOpacity contentType) { in isPaintOpaque()
42 SkPaintBitmapOpacity contentType; in isPaintOpaque() local
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DRealResponseBody.java32 @Override public MediaType contentType() { in contentType() method in RealResponseBody
33 String contentType = headers.get("Content-Type"); in contentType() local
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DContentInfo.java20 private ASN1ObjectIdentifier contentType; field in ContentInfo
56 ASN1ObjectIdentifier contentType, in ContentInfo()
/external/jetty/src/java/org/eclipse/jetty/util/
DMultiPartWriter.java85 public void startPart(String contentType) in startPart()
114 public void startPart(String contentType, String[] headers) in startPart()
DMultiPartOutputStream.java92 public void startPart(String contentType) in startPart()
110 public void startPart(String contentType, String[] headers) in startPart()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DContentInfo.java35 private ASN1ObjectIdentifier contentType; field in ContentInfo
99 ASN1ObjectIdentifier contentType, in ContentInfo()
DCMSAttributes.java21 …public static final ASN1ObjectIdentifier contentType = PKCSObjectIdentifiers.pkcs_9_at_contentTyp… field
/external/apache-http/src/org/apache/http/entity/
DAbstractHttpEntity.java64 protected Header contentType; field in AbstractHttpEntity
134 public void setContentType(final Header contentType) { in setContentType()
/external/nist-sip/java/javax/sip/header/
DContentTypeHeader.java9 void setContentType(String contentType, String contentSubType) in setContentType()
DMediaType.java10 void setContentType(String contentType) throws ParseException; in setContentType()
/external/libxml2/
Dnanohttp.c150 char *contentType; /* the MIME type for the input */ member
1227 xmlNanoHTTPOpen(const char *URL, char **contentType) { in xmlNanoHTTPOpen()
1247 xmlNanoHTTPOpenRedir(const char *URL, char **contentType, char **redir) { in xmlNanoHTTPOpenRedir()
1349 char **contentType, char **redir, in xmlNanoHTTPMethodRedir()
1604 char **contentType, const char *headers, int ilen) { in xmlNanoHTTPMethod()
1623 xmlNanoHTTPFetch(const char *URL, const char *filename, char **contentType) { in xmlNanoHTTPFetch()
1860 char *contentType = NULL; in main() local
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DHttpEntityBody.java34 @Override public MediaType contentType() { in contentType() method in HttpEntityBody
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DSignerInfoGenerator.java170 public SignerInfo generate(ASN1ObjectIdentifier contentType) in generate()
258 …private Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte… in getBaseParameters()

123