public abstract class RestBuilderListener<Response> extends RestResponseListener<Response>
XContentBuilder based response.channel| コンストラクタと説明 |
|---|
RestBuilderListener(RestChannel channel) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
RestResponse |
buildResponse(Response response)
Builds the response to send back through the channel.
|
abstract RestResponse |
buildResponse(Response response,
XContentBuilder builder)
Builds a response to send back over the channel.
|
processResponseonFailure, onResponsepublic RestBuilderListener(RestChannel channel)
public final RestResponse buildResponse(Response response) throws Exception
RestResponseListenerbuildResponse クラス内 RestResponseListener<Response>Exceptionpublic abstract RestResponse buildResponse(Response response, XContentBuilder builder) throws Exception
ExceptionCopyright © 2009–2016. All rights reserved.