org.elasticsearch.rest.action.support
Class RestXContentBuilder
java.lang.Object
org.elasticsearch.rest.action.support.RestXContentBuilder
public class RestXContentBuilder
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestXContentBuilder
public RestXContentBuilder()
restContentBuilder
public static XContentBuilder restContentBuilder(RestRequest request)
throws java.io.IOException
- Throws:
java.io.IOException
restDocumentSource
public static void restDocumentSource(byte[] source,
XContentBuilder builder,
ToXContent.Params params)
throws java.io.IOException
- Throws:
java.io.IOException
restDocumentSource
public static void restDocumentSource(byte[] source,
int offset,
int length,
XContentBuilder builder,
ToXContent.Params params)
throws java.io.IOException
- Throws:
java.io.IOException