Home
last modified time | relevance | path

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

12345

/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.java148 public ASN1ObjectIdentifier getContentType() in CMSSignedData()
150 return signedData.getEncapContentInfo().getContentType(); in CMSSignedData()
196 …this.signedContent = new CMSProcessableByteArray(signedData.getEncapContentInfo().getContentType(), in CMSSignedData()
201 …edContent = new PKCS7ProcessableObject(signedData.getEncapContentInfo().getContentType(), content); in CMSSignedData()
249 … ASN1ObjectIdentifier contentType = signedData.getEncapContentInfo().getContentType(); in getSignerInfos()
360 return signedData.getEncapContentInfo().getContentType().getId(); in getSignedContentTypeOID()
534 cms.contentInfo = new ContentInfo(cms.contentInfo.getContentType(), cms.signedData); in replaceSigners()
611 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
/external/jetty/src/java/org/eclipse/jetty/servlets/
DMultiPartFilter.java134 … if(srequest.getContentType()==null||!srequest.getContentType().startsWith("multipart/form-data")) in doFilter()
141 String content_type=srequest.getContentType(); in doFilter()
176 if (mp.getContentType() != null) in doFilter()
177 params.add(mp.getName()+CONTENT_TYPE_SUFFIX, mp.getContentType()); in doFilter()
185 if (p.getContentType() != null) in doFilter()
186 params.add(p.getName()+CONTENT_TYPE_SUFFIX, p.getContentType()); in doFilter()
/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()
/external/apache-http/src/org/apache/http/entity/
DHttpEntityWrapper.java91 public Header getContentType() { in getContentType() method in HttpEntityWrapper
92 return wrappedEntity.getContentType(); in getContentType()
/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/jetty/src/java/org/eclipse/jetty/http/
DHttpContent.java37 Buffer getContentType(); in getContentType() method
87 public Buffer getContentType() in getContentType() method in HttpContent.ResourceAsHttpContent
/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/guice/extensions/struts2/lib/
Dcommons-fileupload-1.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Dservlet-api-2.5.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/ ...
/external/libphonenumber/demo/war/WEB-INF/lib/
Dcommons-fileupload-1.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/apache-http/src/org/apache/http/
DHttpEntity.java122 Header 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/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.core.contenttype_3.5.0.v20150421-2214.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.contenttype_3.4.100.v20100505-1235.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/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/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DHttpEntityStub.java26 @Override public Header getContentType() { in getContentType() method in HttpEntityStub
/external/guice/extensions/servlet/lib/build/
Dservlet-api-2.5.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/ ...

12345