Home
last modified time | relevance | path

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

1234

/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
/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/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/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/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DContentInfo.java20 private ASN1ObjectIdentifier contentType; field in ContentInfo
56 ASN1ObjectIdentifier contentType, in ContentInfo()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DContentInfo.java33 private ASN1ObjectIdentifier contentType; field in ContentInfo
97 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()
DFileEntity.java58 public FileEntity(final File file, final String contentType) { in FileEntity()
/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/pdfium/xfa/fxfa/
Dcxfa_textprovider.cpp54 Optional<WideString> contentType = pChildNode->JSObject()->TryAttribute( in GetTextNode() local
93 Optional<WideString> contentType = pChildNode->JSObject()->TryAttribute( in GetTextNode() local
/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/skia/tools/
DUrlDataManager.cpp16 SkString UrlDataManager::addData(SkData* data, const char* contentType) { in addData()
/external/skqp/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
/external/okhttp/okhttp-logging-interceptor/src/main/java/com/squareup/okhttp/logging/
DHttpLoggingInterceptor.java190 MediaType contentType = requestBody.contentType(); in intercept() local
228 MediaType contentType = responseBody.contentType(); in intercept() local

1234