Home
last modified time | relevance | path

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

1234

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRequestTest.java35 MediaType contentType = MediaType.parse("text/plain; charset=utf-8"); in string() local
44 MediaType contentType = MediaType.parse("text/plain"); in stringWithDefaultCharsetAdded() local
52 MediaType contentType = MediaType.parse("text/plain; charset=utf-16be"); in stringWithNonDefaultCharsetSpecified() local
60 MediaType contentType = MediaType.parse("text/plain"); in byteArray() local
69 MediaType contentType = MediaType.parse("text/plain"); in byteArrayRange() local
83 MediaType contentType = MediaType.parse("text/plain"); in file() local
93 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.java660 String contentType = responseHeaders.get("Content-Type"); in response() local
695 private final String contentType; field in CacheResponseBody
699 String contentType, String contentLength) { in CacheResponseBody()
713 @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/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.java23 …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/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/
DAsyncHttpURLConnection.java31 private String contentType; field in AsyncHttpURLConnection
49 public void setContentType(String 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/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/tools/
Dpkcs7dump.py31 contentType = contentInfo.getComponentByName('contentType') variable
/external/skia/tools/
DUrlDataManager.cpp16 SkString UrlDataManager::addData(SkData* data, const char* contentType) { in addData()
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DHttpEntityBody.java34 @Override public MediaType contentType() { in contentType() method in HttpEntityBody

1234