Method | Description |
---|---|
org.elasticsearch.common.xcontent.support.AbstractXContentParser.booleanValueLenient() | |
org.elasticsearch.common.xcontent.support.AbstractXContentParser.isBooleanValueLenient() | |
org.elasticsearch.common.xcontent.XContentBuilder.rawField(String, InputStream) |
use
XContentBuilder.rawField(String, InputStream, XContentType) to avoid content type auto-detection |
org.elasticsearch.common.xcontent.XContentFactory.xContent(CharSequence) |
the content type should not be guessed except for few cases where we effectively don't know the content type.
The REST layer should move to reading the Content-Type header instead. There are other places where auto-detection may be needed.
This method is deprecated to prevent usages of it from spreading further without specific reasons.
|
org.elasticsearch.common.xcontent.XContentFactory.xContentType(CharSequence) |
the content type should not be guessed except for few cases where we effectively don't know the content type.
The REST layer should move to reading the Content-Type header instead. There are other places where auto-detection may be needed.
This method is deprecated to prevent usages of it from spreading further without specific reasons.
|
org.elasticsearch.common.xcontent.XContentGenerator.writeRawField(String, InputStream) |
use
XContentGenerator.writeRawField(String, InputStream, XContentType) to avoid content type auto-detection |
org.elasticsearch.common.xcontent.XContentParser.booleanValueLenient() |
Just present for providing backwards compatibility. Use
XContentParser.booleanValue() instead. |
org.elasticsearch.common.xcontent.XContentParser.isBooleanValueLenient() |
Just present for providing backwards compatibility. Use
XContentParser.isBooleanValue() instead. |