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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.rest.RestResponse
RestResponse.Status
 
Constructor Summary
XContentThrowableRestResponse(RestRequest request, RestResponse.Status status, java.lang.Throwable t)
           
XContentThrowableRestResponse(RestRequest request, java.lang.Throwable t)
           
 
Method Summary
 
Methods inherited from class org.elasticsearch.rest.XContentRestResponse
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,
                                     java.lang.Throwable t)
                              throws java.io.IOException
Throws:
java.io.IOException

XContentThrowableRestResponse

public XContentThrowableRestResponse(RestRequest request,
                                     RestResponse.Status status,
                                     java.lang.Throwable t)
                              throws java.io.IOException
Throws:
java.io.IOException