org.elasticsearch.rest.action.support
Class RestXContentBuilder

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

public class RestXContentBuilder
extends Object


Constructor Summary
RestXContentBuilder()
           
 
Method Summary
static XContentBuilder restContentBuilder(RestRequest request)
           
static void restDocumentSource(BytesReference 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 IOException
Throws:
IOException

restDocumentSource

public static void restDocumentSource(BytesReference source,
                                      XContentBuilder builder,
                                      ToXContent.Params params)
                               throws IOException
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.