org.elasticsearch.rest.action.support
Class RestXContentBuilder

java.lang.Object
  extended by org.elasticsearch.rest.action.support.RestXContentBuilder

public class RestXContentBuilder
extends java.lang.Object


Constructor Summary
RestXContentBuilder()
           
 
Method Summary
static XContentBuilder restContentBuilder(RestRequest request)
           
static void restDocumentSource(byte[] source, int offset, int length, XContentBuilder builder, ToXContent.Params params)
           
static void restDocumentSource(byte[] source, XContentBuilder builder, ToXContent.Params params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestXContentBuilder

public RestXContentBuilder()
Method Detail

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