ActionListener<Response>RestBuilderListener, RestToXContentListenerpublic abstract class RestResponseListener<Response> extends RestActionListener<Response>
buildResponse(Object).channel| Modifier | Constructor | Description |
|---|---|---|
protected |
RestResponseListener(RestChannel channel) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract RestResponse |
buildResponse(Response response) |
Builds the response to send back through the channel.
|
protected void |
processResponse(Response response) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonFailure, onResponseprotected RestResponseListener(RestChannel channel)
protected final void processResponse(Response response) throws java.lang.Exception
processResponse in class RestActionListener<Response>java.lang.Exceptionpublic abstract RestResponse buildResponse(Response response) throws java.lang.Exception
java.lang.Exception