OpenSearch/core
Luca Cavanna 2265be69d2 Deprecate XContentType auto detection methods in XContentFactory (#22181)
With recent changes to our parsing code we have drastically reduced the places where we auto-detect the content type from the input. The usage of these methods spread in our codebase for no reason, given that in most of the cases we know the content type upfront and we don't need any auto-detection mechanism. Deprecating these methods is a way to try and make sure that these methods are carefully used, and hopefully not introduced in newly written code.

We have yet to fix the REST layer to read the Content-Type header, which is the long term solution, but for now we just want to make sure that the usage of these methods doesn't spread any further.

Relates to #19388
2016-12-16 19:33:12 +01:00
..
licenses Add version 5.0.3 2016-11-29 18:34:55 -05:00
src Deprecate XContentType auto detection methods in XContentFactory (#22181) 2016-12-16 19:33:12 +01:00
build.gradle Update Joda Time to version 2.9.5 (#21468) 2016-11-10 17:32:46 +01:00