Module org.elasticsearch.server
Class XContentElasticsearchExtension
java.lang.Object
org.elasticsearch.common.xcontent.XContentElasticsearchExtension
- All Implemented Interfaces:
- XContentBuilderExtension
SPI extensions for Elasticsearch-specific classes (like the Lucene or Joda
 dependency classes) that need to be encoded by 
XContentBuilder in a
 specific way.- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final DateFormatterstatic final DateFormatterstatic final DateFormatter
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription
- 
Field Details- 
DEFAULT_FORMATTER
- 
LOCAL_TIME_FORMATTER
- 
OFFSET_TIME_FORMATTER
 
- 
- 
Constructor Details- 
XContentElasticsearchExtensionpublic XContentElasticsearchExtension()
 
- 
- 
Method Details- 
getXContentWriters- Specified by:
- getXContentWritersin interface- XContentBuilderExtension
 
- 
getXContentHumanReadableTransformerspublic Map<Class<?>,XContentBuilder.HumanReadableTransformer> getXContentHumanReadableTransformers()- Specified by:
- getXContentHumanReadableTransformersin interface- XContentBuilderExtension
 
- 
getDateTransformers- Specified by:
- getDateTransformersin interface- XContentBuilderExtension
 
 
-