Modifier and Type | Method and Description |
---|---|
abstract XContent |
XContentType.xContent() |
static XContent |
XContentFactory.xContent(byte[] data)
Guesses the content type based on the provided bytes.
|
static XContent |
XContentFactory.xContent(byte[] data,
int offset,
int length)
Guesses the content type based on the provided bytes.
|
static XContent |
XContentFactory.xContent(BytesReference bytes) |
static XContent |
XContentFactory.xContent(CharSequence content)
Guesses the content (type) based on the provided char sequence.
|
static XContent |
XContentFactory.xContent(XContentType type)
Returns the
XContent for the provided content type. |
Modifier and Type | Method and Description |
---|---|
static XContentBuilder |
XContentBuilder.builder(XContent xContent) |
static XContentBuilder |
XContentBuilder.builder(XContent xContent,
String[] filters) |
Constructor and Description |
---|
XContentBuilder(XContent xContent,
OutputStream bos)
Constructs a new builder using the provided xcontent and an OutputStream.
|
XContentBuilder(XContent xContent,
OutputStream bos,
String[] filters)
Constructs a new builder using the provided xcontent, an OutputStream and some filters.
|
Modifier and Type | Class and Description |
---|---|
class |
CborXContent
A CBOR based content implementation using Jackson.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonXContent
A JSON based content implementation using Jackson.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JsonXContentGenerator.copyRawValue(BytesReference content,
XContent xContent) |
Modifier and Type | Class and Description |
---|---|
class |
SmileXContent
A Smile based content implementation using Jackson.
|
Modifier and Type | Class and Description |
---|---|
class |
YamlXContent
A YAML based content implementation using Jackson.
|
Copyright © 2009–2016. All rights reserved.