Home
last modified time | relevance | path

Searched refs:getContentType (Results 1 – 25 of 52) sorted by relevance

123

/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/
DOkApacheClientTest.java161 assertNotNull(response1.getEntity().getContentType()); in contentType()
162 assertEquals("text/html", response1.getEntity().getContentType().getValue()); in contentType()
169 assertNotNull(response2.getEntity().getContentType()); in contentType()
170 assertEquals("application/json", response2.getEntity().getContentType().getValue()); in contentType()
176 assertNull(response3.getEntity().getContentType()); in contentType()
185 assertEquals("application/json", response.getEntity().getContentType().getValue()); in contentTypeIsCaseInsensitive()
228 assertNotNull(entity.getContentType()); in jsonGzipResponse()
229 assertEquals("application/json", entity.getContentType().getValue()); in jsonGzipResponse()
257 assertNotNull(entity.getContentType()); in jsonTransparentGzipResponse()
258 assertEquals("application/json", entity.getContentType().getValue()); in jsonTransparentGzipResponse()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedData.java151 public ASN1ObjectIdentifier getContentType() in CMSSignedData()
153 return signedData.getEncapContentInfo().getContentType(); in CMSSignedData()
199 …this.signedContent = new CMSProcessableByteArray(signedData.getEncapContentInfo().getContentType(), in CMSSignedData()
204 …edContent = new PKCS7ProcessableObject(signedData.getEncapContentInfo().getContentType(), content); in CMSSignedData()
252 … ASN1ObjectIdentifier contentType = signedData.getEncapContentInfo().getContentType(); in getSignerInfos()
365 return signedData.getEncapContentInfo().getContentType().getId(); in getSignedContentTypeOID()
541 cms.contentInfo = new ContentInfo(cms.contentInfo.getContentType(), cms.signedData); in replaceSigners()
618 cms.contentInfo = new ContentInfo(cms.contentInfo.getContentType(), cms.signedData); in replaceCertificatesAndCRLs()
DCMSTypedData.java8 ASN1ObjectIdentifier getContentType(); in getContentType() method
DCMSAbsentContent.java45 public ASN1ObjectIdentifier getContentType() in getContentType() method in CMSAbsentContent
DCMSProcessableByteArray.java51 public ASN1ObjectIdentifier getContentType() in getContentType() method in CMSProcessableByteArray
DPKCS7ProcessableObject.java26 public ASN1ObjectIdentifier getContentType() in getContentType() method in PKCS7ProcessableObject
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentType.java150 public String getContentType() { in getContentType() method in ContentType
215 return this.getContentType().equalsIgnoreCase( o.getContentType() ) in equals()
DAccept.java115 public String getContentType() { in getContentType() method in Accept
/external/apache-http/src/org/apache/http/entity/
DHttpEntityWrapper.java91 public Header getContentType() { in getContentType() method in HttpEntityWrapper
92 return wrappedEntity.getContentType(); in getContentType()
DAbstractHttpEntity.java98 public Header getContentType() { in getContentType() method in AbstractHttpEntity
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DHttpEntityBody.java21 } else if (entity.getContentType() != null) { in HttpEntityBody()
22 mediaType = MediaType.parse(entity.getContentType().getValue()); in HttpEntityBody()
/external/apache-http/src/org/apache/http/protocol/
DRequestContent.java94 if (entity.getContentType() != null && !request.containsHeader( in process()
96 request.addHeader(entity.getContentType()); in process()
DResponseContent.java87 if (entity.getContentType() != null && !response.containsHeader( in process()
89 response.addHeader(entity.getContentType()); in process()
/external/apache-http/src/org/apache/http/util/
DEntityUtils.java100 if (entity.getContentType() != null) { in getContentCharSet()
101 HeaderElement values[] = entity.getContentType().getElements(); in getContentCharSet()
/external/nist-sip/java/javax/sip/header/
DMediaType.java9 String getContentType(); in getContentType() method
/external/apache-http/android/src/com/android/internal/http/multipart/
DPart.java147 public abstract String getContentType(); in getContentType() method in Part
231 String contentType = getContentType(); in sendContentTypeHeader()
DPartBase.java87 public String getContentType() { in getContentType() method in PartBase
/external/apache-http/src/org/apache/http/
DHttpEntity.java122 Header getContentType(); in getContentType() method
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenResolutionTest.java399 Type getContentType() {
406 new Holder<int[]>() {}.getContentType());
408 new Holder<int[][]>() {}.getContentType());
413 new Holder<List<int[][]>[]>() {}.getContentType();
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DHttpEntityStub.java25 @Override public Header getContentType() { in getContentType() method in HttpEntityStub
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java150 @Override public String getContentType() { in getContentType() method in DelegatingHttpsURLConnection
151 return delegate.getContentType(); in getContentType()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java149 @Override public String getContentType() { in getContentType() method in DelegatingHttpsURLConnection
150 return delegate.getContentType(); in getContentType()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DContentInfo.java63 public ASN1ObjectIdentifier getContentType() in getContentType() method in ContentInfo
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DContentInfo.java104 public ASN1ObjectIdentifier getContentType() in getContentType() method in ContentInfo
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DContentInfo.java67 public ASN1ObjectIdentifier getContentType() in getContentType() method in ContentInfo

123