public abstract class RestResponseListener<Response> extends RestActionListener<Response>
buildResponse(Object).channel| Modifier | Constructor and Description |
|---|---|
protected |
RestResponseListener(RestChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
abstract RestResponse |
buildResponse(Response response)
Builds the response to send back through the channel.
|
protected void |
processResponse(Response response) |
onFailure, onResponseprotected RestResponseListener(RestChannel channel)
protected final void processResponse(Response response) throws Exception
processResponse in class RestActionListener<Response>Exceptionpublic abstract RestResponse buildResponse(Response response) throws Exception
ExceptionCopyright © 2009–2017. All rights reserved.