org.elasticsearch.rest
Class XContentThrowableRestResponse

java.lang.Object
  extended by org.elasticsearch.rest.AbstractRestResponse
      extended by org.elasticsearch.rest.XContentRestResponse
          extended by org.elasticsearch.rest.XContentThrowableRestResponse
All Implemented Interfaces:
RestResponse

public class XContentThrowableRestResponse
extends XContentRestResponse


Constructor Summary
XContentThrowableRestResponse(RestRequest request, RestStatus status, Throwable t)
           
XContentThrowableRestResponse(RestRequest request, Throwable t)
           
 
Method Summary
 
Methods inherited from class org.elasticsearch.rest.XContentRestResponse
builder, content, contentLength, contentThreadSafe, contentType, prefixContent, prefixContentLength, status, suffixContent, suffixContentLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XContentThrowableRestResponse

public XContentThrowableRestResponse(RestRequest request,
                                     Throwable t)
                              throws IOException
Throws:
IOException

XContentThrowableRestResponse

public XContentThrowableRestResponse(RestRequest request,
                                     RestStatus status,
                                     Throwable t)
                              throws IOException
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.