/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/ |
D | FileURLConnectionTest.java | 32 static String getContentType(String fileName) throws IOException { in getContentType() method in FileURLConnectionTest 36 return new FileURLConnection(url).getContentType(); in getContentType() 41 assertEquals("application/rtf", getContentType("test.rtf")); in testGetContentType() 42 assertEquals("text/plain", getContentType("test.java")); in testGetContentType() 44 assertEquals("application/msword", getContentType("test.doc")); in testGetContentType() 45 assertEquals("text/html", getContentType("test.htx")); in testGetContentType() 46 assertEquals("application/xml", getContentType("test.xml")); in testGetContentType() 47 assertEquals("text/plain", getContentType(".")); in testGetContentType() 73 assertEquals(conn.getContentType(), conn.getHeaderField("content-type")) ; in testHeaderFunctions() 79 assertEquals(conn.getContentType(), conn.getHeaderField("content-type")) ; in testHeaderFunctions()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | ContentType.java | 150 public String getContentType() { in getContentType() method in ContentType 215 return this.getContentType().equalsIgnoreCase( o.getContentType() ) in equals()
|
D | Accept.java | 115 public String getContentType() { in getContentType() method in Accept
|
/external/apache-http/src/org/apache/http/entity/ |
D | HttpEntityWrapper.java | 86 public Header getContentType() { in getContentType() method in HttpEntityWrapper 87 return wrappedEntity.getContentType(); in getContentType()
|
D | AbstractHttpEntity.java | 93 public Header getContentType() { in getContentType() method in AbstractHttpEntity
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 80 static String getContentType(String fileName) throws IOException { 84 return url.openConnection().getContentType(); 223 assertEquals("application/rtf", getContentType("test.rtf")); 224 assertEquals("text/plain", getContentType("test.java")); 226 assertEquals("application/msword", getContentType("test.doc")); 227 assertEquals("text/html", getContentType("test.htx")); 228 assertEquals("application/xml", getContentType("test.xml")); 229 assertEquals("text/plain", getContentType("."));
|
D | JarURLConnectionTest.java | 295 u.openConnection().getContentType()); in test_getContentType() 300 "image/bmp", u.openConnection().getContentType()); in test_getContentType() 305 "content/unknown", u.openConnection().getContentType()); in test_getContentType()
|
/external/apache-http/src/org/apache/http/protocol/ |
D | RequestContent.java | 89 if (entity.getContentType() != null && !request.containsHeader( in process() 91 request.addHeader(entity.getContentType()); in process()
|
D | ResponseContent.java | 82 if (entity.getContentType() != null && !response.containsHeader( in process() 84 response.addHeader(entity.getContentType()); in process()
|
/external/apache-http/src/org/apache/http/util/ |
D | EntityUtils.java | 95 if (entity.getContentType() != null) { in getContentCharSet() 96 HeaderElement values[] = entity.getContentType().getElements(); in getContentCharSet()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | CMSSignedData.java | 229 … ASN1ObjectIdentifier contentType = signedData.getEncapContentInfo().getContentType(); in getSignerInfos() 498 return signedData.getEncapContentInfo().getContentType().getId(); in getSignedContentTypeOID() 594 cms.contentInfo = new ContentInfo(cms.contentInfo.getContentType(), cms.signedData); in replaceSigners() 664 cms.contentInfo = new ContentInfo(cms.contentInfo.getContentType(), cms.signedData); in replaceCertificatesAndCRLs() 741 cms.contentInfo = new ContentInfo(cms.contentInfo.getContentType(), cms.signedData); in replaceCertificatesAndCRLs()
|
D | CMSTypedData.java | 8 ASN1ObjectIdentifier getContentType(); in getContentType() method
|
D | CMSAbsentContent.java | 45 public ASN1ObjectIdentifier getContentType() in getContentType() method in CMSAbsentContent
|
D | CMSSignedDataGenerator.java | 526 public ASN1ObjectIdentifier getContentType() in generate() 564 …return this.generate(((CMSTypedData)content).getContentType().getId(), content, encapsulate, sigPr… 587 …return this.generate(((CMSTypedData)content).getContentType().getId(), content, encapsulate, sigPr… 663 ASN1ObjectIdentifier contentTypeOID = content.getContentType();
|
D | CMSProcessableByteArray.java | 50 public ASN1ObjectIdentifier getContentType() in getContentType() method in CMSProcessableByteArray
|
/external/nist-sip/java/javax/sip/header/ |
D | MediaType.java | 9 String getContentType(); in getContentType() method
|
/external/apache-http/src/org/apache/http/ |
D | HttpEntity.java | 117 Header getContentType(); in getContentType() method
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
D | ContentInfo.java | 67 public ASN1ObjectIdentifier getContentType() in getContentType() method in ContentInfo
|
D | SignedData.java | 55 … this.version = calculateVersion(contentInfo.getContentType(), certificates, crls, signerInfos); in SignedData()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | ContentInfo.java | 63 public ASN1ObjectIdentifier getContentType() in getContentType() method in ContentInfo
|
D | EncryptedData.java | 84 public ASN1ObjectIdentifier getContentType() in getContentType() method in EncryptedData
|
/external/okhttp/src/main/java/libcore/net/http/ |
D | HttpsURLConnectionImpl.java | 195 public String getContentType() { in getContentType() method in HttpsURLConnectionImpl 196 return delegate.getContentType(); in getContentType()
|
/external/oauth/core/src/main/java/net/oauth/client/ |
D | URLConnectionResponse.java | 90 .getContentType())); in getHeaders()
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
D | MultipartMimeContentImpl.java | 160 if (content.getContentTypeHeader().getContentType().equalsIgnoreCase(contentType) in getContentByType()
|
/external/apache-http/src/org/apache/http/client/utils/ |
D | URLEncodedUtils.java | 113 final Header contentType = entity.getContentType(); in isEncoded()
|