/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/ |
D | TestTypeFactory.java | 140 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 …]
|
D | ContainerTypesTest.java | 32 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()
|
D | TestTypeResolution.java | 47 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()
|
D | TestJavaType.java | 101 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()
|
D | TestTypeBindings.java | 51 JavaType valueType = type.getContentType(); in testInnerType() 53 JavaType vt2 = valueType.getContentType(); in testInnerType()
|
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/ |
D | OkApacheClientTest.java | 161 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/ |
D | CMSSignedData.java | 152 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()
|
D | CMSTypedData.java | 8 ASN1ObjectIdentifier getContentType(); in getContentType() method
|
D | CMSAbsentContent.java | 45 public ASN1ObjectIdentifier getContentType() in getContentType() method in CMSAbsentContent
|
D | CMSProcessableByteArray.java | 51 public ASN1ObjectIdentifier getContentType() in getContentType() method in CMSProcessableByteArray
|
/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()
|
/external/apache-http/src/org/apache/http/entity/ |
D | HttpEntityWrapper.java | 91 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/ |
D | HttpEntityBody.java | 21 } 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/ |
D | UrlTest.java | 98 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/ |
D | RequestContent.java | 94 if (entity.getContentType() != null && !request.containsHeader( in process() 96 request.addHeader(entity.getContentType()); in process()
|
D | ResponseContent.java | 87 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/ |
D | StdArraySerializers.java | 116 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/ |
D | EntityUtils.java | 100 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/ |
D | BasicSerializerFactory.java | 592 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/ |
D | ContainerDeserializerBase.java | 117 public JavaType getContentType() { in getContentType() method in ContainerDeserializerBase 121 return _containerType.getContentType(); in getContentType()
|
/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 | 122 Header getContentType(); in getContentType() method
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/type/ |
D | ResolvedType.java | 111 public abstract ResolvedType getContentType(); in getContentType() method in ResolvedType
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/ |
D | TestTypeModifiers.java | 231 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/ |
D | Part.java | 147 public abstract String getContentType(); in getContentType() method in Part 231 String contentType = getContentType(); in sendContentTypeHeader()
|