On Fri, 2018-09-28 at 19:56 +0000, Schmitt, Ryan wrote: > Why is it that EntityDetails#getContentType returns a String and not > a ContentType, even though ContentType is used as the internal > representation in BasicEntityDetails?
EntityDetails is used to represent both incoming and outgoing message entities. In order to avoid having to parse the 'Content-Type' header value by default it is returned as a String. > Should new APIs (such as ReactiveEntityProducer) accept a ContentType > or a String? It should be using ContentType in my opinion. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
