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
protected RestResponseListener(RestChannel channel)
protected final void processResponse(Response response) throws Exception
processResponse
in class RestActionListener<Response>
Exception
public abstract RestResponse buildResponse(Response response) throws Exception
Exception
Copyright © 2009–2016. All rights reserved.