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, onResponse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onFailure, onResponse, toBiConsumer, wrap, wrap
protected RestResponseListener(RestChannel channel)
protected final void processResponse(Response response) throws java.lang.Exception
processResponse
in class RestActionListener<Response>
java.lang.Exception
public abstract RestResponse buildResponse(Response response) throws java.lang.Exception
java.lang.Exception