Module org.elasticsearch.server
Package org.elasticsearch.common.xcontent
package org.elasticsearch.common.xcontent
-
ClassDescriptionAn extension of
ToXContent
that can be serialized in chunks by creating anIterator<ToXContent>
.Logs deprecations to theDeprecationLogger
.ObjectParserHelper<Value,Context> This class provides helpers forObjectParser
that allow dealing with classes outside of the xcontent dependencies.Objects that can both render themselves in as json/yaml/etc and can provide aRestStatus
for their response.SPI extensions for Elasticsearch-specific classes (like the Lucene or Joda dependency classes) that need to be encoded byXContentBuilder
in a specific way.A filter that filter fields away from sourceA set of static methods to getXContentParser.Token
fromXContentParser
while checking for their types and throwParsingException
if needed.