Home
last modified time | relevance | path

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

12345

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestTypeFactory.java140 assertSame(String.class, mt.getContentType().getRawClass()); in testProperties()
273 assertEquals(Object.class, t.getContentType().getRawClass()); in testCanonicalNames()
306 assertSame(Object.class, ((CollectionType) t).getContentType().getRawClass()); in testCollections()
313 JavaType elemType = ((CollectionType) t).getContentType(); in testCollections()
321 assertSame(String.class, ((CollectionType) t).getContentType().getRawClass()); in testCollections()
333 assertSame(String.class, ((CollectionType) t).getContentType().getRawClass()); in testCollectionsWithBindings()
342 assertEquals(Long.class, type.getContentType().getRawClass()); in testCollectionTypesRefined()
349 assertEquals(Long.class, subtype.getContentType().getRawClass()); in testCollectionTypesRefined()
376 assertSame(Integer.class, ((MapType) t).getContentType().getRawClass()); in testMaps()
384 assertEquals(tf.constructType(Integer.class), mt.getContentType()); in testMaps()
[all …]
DContainerTypesTest.java32 assertEquals(Long.class, t.getContentType().getRawClass()); in testExplicitCollectionType()
41 assertEquals(Long.class, t.getContentType().getRawClass()); in testImplicitCollectionType()
51 assertEquals(HashMap.class, t.getContentType().getRawClass()); in testMissingCollectionType()
61 assertEquals(Long.class, t.getContentType().getRawClass()); in testExplicitMapType()
70 assertEquals(Boolean.class, t.getContentType().getRawClass()); in testImplicitMapType()
DTestTypeResolution.java47 assertEquals(tf.constructType(Long.class), type.getContentType()); in testMaps()
56 assertEquals(tf.constructType(Long.class), type.getContentType()); in testListViaTypeRef()
65 assertEquals(tf.constructType(Long.class), type.getContentType()); in testListViaClass()
DTestJavaType.java101 assertNull(baseType.getContentType()); in testSimpleClass()
136 assertNotNull(arrayT.getContentType()); in testArrayType()
157 assertNotNull(mapT.getContentType()); in testMapType()
252 JavaType ct = t.getContentType(); in testAnchorTypeForRefTypes()
281 assertEquals(Long.class, t.getContentType().getRawClass()); in testConstructReferenceType()
DTestTypeBindings.java51 JavaType valueType = type.getContentType(); in testInnerType()
53 JavaType vt2 = valueType.getContentType(); in testInnerType()
/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.java152 public ASN1ObjectIdentifier getContentType() in CMSSignedData()
154 return signedData.getEncapContentInfo().getContentType(); in CMSSignedData()
200 …this.signedContent = new CMSProcessableByteArray(signedData.getEncapContentInfo().getContentType(), in CMSSignedData()
205 …edContent = new PKCS7ProcessableObject(signedData.getEncapContentInfo().getContentType(), content); in CMSSignedData()
253 … ASN1ObjectIdentifier contentType = signedData.getEncapContentInfo().getContentType(); in getSignerInfos()
366 return signedData.getEncapContentInfo().getContentType().getId(); in getSignedContentTypeOID()
553 cms.contentInfo = new ContentInfo(cms.contentInfo.getContentType(), cms.signedData); in replaceSigners()
630 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/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/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DUrlTest.java98 assertThat(conn.getContentType()).isEqualTo("application/octet-stream"); in headers()
122 assertThat(conn.getContentType()).isEqualTo("application/octet-stream"); in contentType()
124 assertThat(conn.getContentType()).isEqualTo(detectedContentType); in contentType()
/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/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DStdArraySerializers.java116 public JavaType getContentType() { in getContentType() method in StdArraySerializers.BooleanArraySerializer
193 public JavaType getContentType() { in getContentType() method in StdArraySerializers.ShortArraySerializer
360 public JavaType getContentType() { in getContentType() method in StdArraySerializers.IntArraySerializer
432 public JavaType getContentType() { in getContentType() method in StdArraySerializers.LongArraySerializer
509 public JavaType getContentType() { in getContentType() method in StdArraySerializers.FloatArraySerializer
595 public JavaType getContentType() { in getContentType() method in StdArraySerializers.DoubleArraySerializer
/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/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DBasicSerializerFactory.java592 if (!type.isContainerType() || !type.getContentType().isJavaLangObject()) { in buildContainerSerializer()
598 JavaType elementType = type.getContentType(); in buildContainerSerializer()
714 JavaType enumType = type.getContentType(); in buildCollectionSerializer()
721 Class<?> elementRaw = type.getContentType().getRawClass(); in buildCollectionSerializer()
729 ser = buildIndexedListSerializer(type.getContentType(), staticTyping, in buildCollectionSerializer()
739 ser = buildCollectionSerializer(type.getContentType(), staticTyping, in buildCollectionSerializer()
857 final JavaType contentType = mapSer.getContentType(); in _checkMapContentInclusion()
928 final JavaType contentType = ser.getContentType(); in buildMapEntrySerializer()
1060 … ser = new ObjectArraySerializer(type.getContentType(), staticTyping, elementTypeSerializer, in buildArraySerializer()
1087 JavaType contentType = refType.getContentType(); in findReferenceSerializer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DContainerDeserializerBase.java117 public JavaType getContentType() { in getContentType() method in ContainerDeserializerBase
121 return _containerType.getContentType(); in getContentType()
/external/nist-sip/java/javax/sip/header/
DMediaType.java9 String getContentType(); in getContentType() method
/external/apache-http/src/org/apache/http/
DHttpEntity.java122 Header getContentType(); in getContentType() method
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/type/
DResolvedType.java111 public abstract ResolvedType getContentType(); in getContentType() method in ResolvedType
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DTestTypeModifiers.java231 param = ((MapLikeType) type).getContentType(); in testMapLikeTypeConstruction()
246 param = ((MapLikeType) type).getContentType(); in testMapLikeTypeViaParametric()
269 JavaType param = ((CollectionLikeType) type).getContentType(); in testCollectionLikeTypeConstruction()
/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()

12345